[devel] kdenonbeta/kdedebian/kapture/libkapture
Peter Rockai <[email protected]> Fri, 16 Jul 2004 05:30:37 +0200 (CEST)
| Newsgroups | gmane.comp.kde.debian |
|---|---|
| Message-ID | <20040716033037.A1A8016AF7__42796.4370850988$1093223096$gmane$org@office.kde.org> |
CVS commit by mornfall:
Make KaptureManager::commit only reload cache when neccessary (that is,
commit error).
M +3 -2 kapturemanager.cpp 1.31
--- kdenonbeta/kdedebian/kapture/libkapture/kapturemanager.cpp #1.30:1.31
@@ -67,7 +67,8 @@ void KaptureManager::commit (void)
PkgManager::cache () -> applyAWanted ();
CommitStatus *st = new CommitStatus;
- PkgManager::commit (st);
+ bool res = PkgManager::commit (st);
delete st;
ErrorDialog::dumpErrors (m_top);
+ if (! res)
PkgManager::instance () -> loadAll ();
}
_______________________________________________
kde-debian-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-debian-devel