From d2d25a3c1e60a34436cd93e5214a35b3edd05c6c Mon Sep 17 00:00:00 2001 From: alwin Date: Thu, 11 Nov 2004 21:10:16 +0000 Subject: - flush icon cache if reloading all documents - send QCop message when the doctab is enabled/disabled so the disabled widget appears or the doc-list will reread --- (limited to 'core/launcher/launcherview.cpp') diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index c9efacb..2783423 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp @@ -332,9 +332,6 @@ void LauncherIconView::setSortMethod( SortMethod m ) void LauncherIconView::setCategoryFilter( int catfilter, bool resort ) { - Categories cat; - cat.load( categoryFileName() ); - QString str; if ( catfilter == -2 ) cf = 0; else @@ -1083,6 +1080,7 @@ void LauncherView::itemPressed( int btn, QIconViewItem *item ) void LauncherView::removeAllItems() { odebug << "LauncherView::removeAllItems()" << oendl; + if (LauncherIconView::sm_EyeCache) LauncherIconView::sm_EyeCache->clear(); icons->clear(); } -- cgit v0.9.0.2