diff options
author | Timothy Pearson <[email protected]> | 2014-11-14 12:57:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-11-14 12:57:59 -0600 |
commit | f07158cd9dcb61b32e7dba5674e8ed0f7c8c6fe2 (patch) | |
tree | 57df7f3e690c3c20855bd03849b65ae13dbd5486 /konqueror/iconview | |
parent | f943ed4a5828c3dafbc987602115cfdf3c53ddcc (diff) | |
download | tdebase-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.cc | 6 |
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() ); } |