From 6a31c6a61f47083cde645b1c32f769871ed450b3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 May 2014 16:17:53 -0500 Subject: Clean up old compile-time check Attempt to resolve crashes of the form reported in TDECRSH-2a6245f-00c183f-e857aaa-23bc08b-cccc168-90e4138-b0b162f --- konqueror/iconview/konq_iconview.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'konqueror') 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? -- cgit v1.2.1