From c4141ad5995fd7277bc7cd78a46365df4e9bed0a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 23:25:47 +0900 Subject: Removed obsolete Qt2's TQList/TQListIterator classes and replaced with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro --- konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'konqueror/sidebar/trees') diff --git a/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp b/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp index bff59f1a2..b1b6d0563 100644 --- a/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp +++ b/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp @@ -397,7 +397,7 @@ void KonqSidebarDirTreeModule::slotNewItems( const KFileItemList& entries ) kdDebug(1201) << this << " KonqSidebarDirTreeModule::slotNewItems " << entries.count() << endl; Q_ASSERT(entries.count()); - KFileItem * firstItem = const_cast(entries).last(); // TQList sucks for constness + KFileItem * firstItem = const_cast(entries).last(); // TQPtrList sucks for constness // Find parent item - it's the same for all the items KURL dir( firstItem->url().url(-1) ); -- cgit v1.2.1