summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2011-12-14 15:50:42 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2011-12-14 15:50:42 -0500
commitfc98476aef6bf17768cfc0450bd25ac967d01834 (patch)
tree7411b50fd18336185de9fb8520fd9154822020b4 /redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch
parentcc3f13111c121c8a39b9937bb2e1bf00207c9df0 (diff)
parente9bf572672fe20775479a10b426d32379f4185d0 (diff)
downloadtde-packaging-fc98476aef6bf17768cfc0450bd25ac967d01834.tar.gz
tde-packaging-fc98476aef6bf17768cfc0450bd25ac967d01834.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch')
-rw-r--r--redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch b/redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch
new file mode 100644
index 000000000..e6076a12e
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch
@@ -0,0 +1,11 @@
+--- kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp.ORI 2011-12-10 15:07:43.171011925 +0100
++++ kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp 2011-12-10 15:07:48.000797355 +0100
+@@ -400,7 +400,7 @@
+ kdDebug(1201) << this << " KonqSidebarDirTreeModule::slotNewItems " << entries.count() << endl;
+
+ 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
+ KURL dir( firstItem->url().url(-1) );