diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-27 18:49:29 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-27 18:49:29 -0500 |
commit | 3e7ad37f5617f7f571fbd7b4aeba1d492271af33 (patch) | |
tree | b09247fdf9ddd567790acc34471ae6c0d35852e8 /konqueror/listview/konq_listview.cc | |
parent | 485ab965cd717c5b94bf2d941e4efa6293b57642 (diff) | |
download | tdebase-3e7ad37f5617f7f571fbd7b4aeba1d492271af33.tar.gz tdebase-3e7ad37f5617f7f571fbd7b4aeba1d492271af33.zip |
Repair all known Konqueror performance regressions caused by early calls to expensive mimetype operations
These accidental errors span most TDE releases and many KDE 3.x releases
This resolves Bug 699
Diffstat (limited to 'konqueror/listview/konq_listview.cc')
-rw-r--r-- | konqueror/listview/konq_listview.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/konqueror/listview/konq_listview.cc b/konqueror/listview/konq_listview.cc index 0e329f7e7..8c9369a4c 100644 --- a/konqueror/listview/konq_listview.cc +++ b/konqueror/listview/konq_listview.cc @@ -348,6 +348,10 @@ void KonqListView::determineIcon( KonqBaseListViewItem * item ) //if ( oldSerial != newIcon.serialNumber() ) // item->setPixmap( 0, newIcon ); + if (item->item()->isMimeTypeKnown()) { + item->mimetypeFound(); + } + // We also have columns to update, not only the icon item->updateContents(); } |