Browse Source

Removed obsolete Qt2's TQList/TQListIterator classes and replaced

with TQt3's TQPtrList/TQPtrListIterator ones.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/11/head
Michele Calgaro 10 months ago
parent
commit
c4141ad599
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp

+ 1
- 1
konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp View File

@@ -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<KFileItemList&>(entries).last(); // TQList sucks for constness
KFileItem * firstItem = const_cast<KFileItemList&>(entries).last(); // TQPtrList sucks for constness

// Find parent item - it's the same for all the items
KURL dir( firstItem->url().url(-1) );

Loading…
Cancel
Save