CVS commit by mornfall: Fix rebuild/refresh confusion (led to a crash after the rebuild/refresh optimization in Tree).
M +1 -1 pkgmanager.cpp 1.30 M +1 -1 pkgmanager.h 1.22 --- kdenonbeta/kdedebian/kapture/libcapture/pkgmanager.cpp #1.29:1.30 @@ -262,5 +262,5 @@ void PkgManager::notifyRebuild () for (list <Watcher *>::iterator it = m_watchers . begin (); it != m_watchers . end (); it ++) { // cerr << "rebuilding&refreshing watcher: " << (*it) << endl; - (*it) -> refresh (); + (*it) -> rebuild (); } } --- kdenonbeta/kdedebian/kapture/libcapture/pkgmanager.h #1.21:1.22 @@ -59,5 +59,5 @@ namespace capture { virtual void notifySave () {}; virtual void notifyRestore () {}; - virtual void rebuild () {}; + virtual void rebuild () { refresh (); }; virtual void refresh () {}; };