|
|
@ -400,7 +400,7 @@ void KonqSidebarDirTreeModule::slotNewItems( const KFileItemList& entries )
|
|
|
|
kdDebug(1201) << this << " KonqSidebarDirTreeModule::slotNewItems " << entries.count() << endl;
|
|
|
|
kdDebug(1201) << this << " KonqSidebarDirTreeModule::slotNewItems " << entries.count() << endl;
|
|
|
|
|
|
|
|
|
|
|
|
Q_ASSERT(entries.count());
|
|
|
|
Q_ASSERT(entries.count());
|
|
|
|
KFileItem * firstItem = const_cast<KFileItemList&>(entries).first(); // qlist sucks for constness
|
|
|
|
KFileItem * firstItem = const_cast<KFileItemList&>(entries).last(); // qlist sucks for constness
|
|
|
|
|
|
|
|
|
|
|
|
// Find parent item - it's the same for all the items
|
|
|
|
// Find parent item - it's the same for all the items
|
|
|
|
KURL dir( firstItem->url().url(-1) );
|
|
|
|
KURL dir( firstItem->url().url(-1) );
|
|
|
|