author | alwin <alwin> | 2004-11-11 21:10:16 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-11-11 21:10:16 (UTC) |
commit | d2d25a3c1e60a34436cd93e5214a35b3edd05c6c (patch) (unidiff) | |
tree | 0c1bd62dd09e7a86292399f68c823b7eb6ae031e /core/launcher/launcherview.cpp | |
parent | e85cf7184c3444e26c1858d0564fa5d3614dd7b5 (diff) | |
download | opie-d2d25a3c1e60a34436cd93e5214a35b3edd05c6c.zip opie-d2d25a3c1e60a34436cd93e5214a35b3edd05c6c.tar.gz opie-d2d25a3c1e60a34436cd93e5214a35b3edd05c6c.tar.bz2 |
- 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
Diffstat (limited to 'core/launcher/launcherview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/launcherview.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 ) | |||
332 | 332 | ||
333 | void LauncherIconView::setCategoryFilter( int catfilter, bool resort ) | 333 | void LauncherIconView::setCategoryFilter( int catfilter, bool resort ) |
334 | { | 334 | { |
335 | Categories cat; | ||
336 | cat.load( categoryFileName() ); | ||
337 | QString str; | ||
338 | if ( catfilter == -2 ) | 335 | if ( catfilter == -2 ) |
339 | cf = 0; | 336 | cf = 0; |
340 | else | 337 | else |
@@ -1083,6 +1080,7 @@ void LauncherView::itemPressed( int btn, QIconViewItem *item ) | |||
1083 | void LauncherView::removeAllItems() | 1080 | void LauncherView::removeAllItems() |
1084 | { | 1081 | { |
1085 | odebug << "LauncherView::removeAllItems()" << oendl; | 1082 | odebug << "LauncherView::removeAllItems()" << oendl; |
1083 | if (LauncherIconView::sm_EyeCache) LauncherIconView::sm_EyeCache->clear(); | ||
1086 | icons->clear(); | 1084 | icons->clear(); |
1087 | } | 1085 | } |
1088 | 1086 | ||