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>
Michele Calgaro 5 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 )
397 397
     kdDebug(1201) << this << " KonqSidebarDirTreeModule::slotNewItems " << entries.count() << endl;
398 398
 
399 399
     Q_ASSERT(entries.count());
400
-    KFileItem * firstItem = const_cast<KFileItemList&>(entries).last(); // TQList sucks for constness
400
+    KFileItem * firstItem = const_cast<KFileItemList&>(entries).last(); // TQPtrList sucks for constness
401 401
 
402 402
     // Find parent item - it's the same for all the items
403 403
     KURL dir( firstItem->url().url(-1) );

Loading…
Cancel
Save