update the previews without relying on that KDirLister gets reloaded

svn path=/trunk/KDE/kdebase/apps/; revision=783961
This commit is contained in:
Peter Penz 2008-03-10 07:05:33 +00:00
parent 1b45574325
commit acb27185b7

View file

@ -66,6 +66,9 @@ void IconManager::setShowPreview(bool show)
m_showPreview = show;
m_cutItemsCache.clear();
updateCutItems();
if (show) {
updatePreviews();
}
}
}