summaryrefslogtreecommitdiffstats
path: root/konqueror/iconview
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-14 12:57:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-14 12:57:59 -0600
commitf07158cd9dcb61b32e7dba5674e8ed0f7c8c6fe2 (patch)
tree57df7f3e690c3c20855bd03849b65ae13dbd5486 /konqueror/iconview
parentf943ed4a5828c3dafbc987602115cfdf3c53ddcc (diff)
downloadtdebase-f07158cd9dcb61b32e7dba5674e8ed0f7c8c6fe2.tar.gz
tdebase-f07158cd9dcb61b32e7dba5674e8ed0f7c8c6fe2.zip
Fix large file previews that were broken in GIT hash 3e7ad37f
Diffstat (limited to 'konqueror/iconview')
-rw-r--r--konqueror/iconview/konq_iconview.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/konqueror/iconview/konq_iconview.cc b/konqueror/iconview/konq_iconview.cc
index 0e754b848..3b6432d1e 100644
--- a/konqueror/iconview/konq_iconview.cc
+++ b/konqueror/iconview/konq_iconview.cc
@@ -1108,8 +1108,6 @@ void KonqKfmIconView::showDirectoryOverlay(KFileIVI* item)
void KonqKfmIconView::showFreeSpaceOverlay(KFileIVI* item)
{
- KFileItem* fileItem = item->item();
-
m_paOutstandingFreeSpaceOverlays.append(item);
if (m_paOutstandingFreeSpaceOverlays.count() == 1)
{
@@ -1296,6 +1294,10 @@ void KonqKfmIconView::determineIcon( KFileIVI * item )
(void) item->item()->determineMimeType();
+ if (item->item()->isMimeTypeKnown()) {
+ item->mimeTypeAndIconDetermined();
+ }
+
item->setIcon( iconSize(), item->state(), true, true );
item->setMouseOverAnimation( item->item()->iconName() );
}