summaryrefslogtreecommitdiffstats
path: root/konqueror/iconview
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-05-01 16:17:53 -0500
committerTimothy Pearson <[email protected]>2014-05-01 16:17:53 -0500
commit6a31c6a61f47083cde645b1c32f769871ed450b3 (patch)
tree54c2cd3d348ea26635ac4dc3e77667ca6e6fd357 /konqueror/iconview
parent8155652c91e55697ea055e20c97000e78567b2ed (diff)
downloadtdebase-6a31c6a61f47083cde645b1c32f769871ed450b3.tar.gz
tdebase-6a31c6a61f47083cde645b1c32f769871ed450b3.zip
Clean up old compile-time check
Attempt to resolve crashes of the form reported in TDECRSH-2a6245f-00c183f-e857aaa-23bc08b-cccc168-90e4138-b0b162f
Diffstat (limited to 'konqueror/iconview')
-rw-r--r--konqueror/iconview/konq_iconview.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/konqueror/iconview/konq_iconview.cc b/konqueror/iconview/konq_iconview.cc
index 7ff2db6e9..04b2bfb51 100644
--- a/konqueror/iconview/konq_iconview.cc
+++ b/konqueror/iconview/konq_iconview.cc
@@ -1051,14 +1051,9 @@ void KonqKfmIconView::slotNewItems( const KFileItemList& entries )
void KonqKfmIconView::slotDeleteItem( KFileItem * _fileitem )
{
- // new in 3.5.5
-#ifdef TDEPARTS_BROWSEREXTENSION_HAS_ITEMS_REMOVED
KFileItemList list;
list.append( _fileitem );
emit m_extension->itemsRemoved( list );
-#else
-#error "Your tdelibs doesn't have KParts::BrowserExtension::itemsRemoved, please update it to at least 3.5.5"
-#endif
if ( _fileitem == m_dirLister->rootItem() )
{
@@ -1079,7 +1074,6 @@ void KonqKfmIconView::slotDeleteItem( KFileItem * _fileitem )
m_pIconView->stopImagePreview();
KonqDirPart::deleteItem( _fileitem );
- m_pIconView->takeItem( ivi );
m_mimeTypeResolver->m_lstPendingMimeIconItems.remove( ivi );
m_itemDict.remove( _fileitem );
if (m_paOutstandingOverlays.first() == ivi) // Being processed?