summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2011-12-10 15:47:53 +0100
committerFrancois Andriot <francois.andriot@free.fr>2011-12-10 15:47:53 +0100
commit24e232cf9a32067a490d6687344e068641ea7e26 (patch)
treeb76ec34a2f6654ea49e8d535485bbdc6883d0b41 /redhat/kdebase/kdebase-3.5.13-konqsidebar_documents.patch
parent0b0d138bbc895c01e392bf3fd6c4e916a86935a5 (diff)
downloadtde-packaging-24e232cf9a32067a490d6687344e068641ea7e26.tar.gz
tde-packaging-24e232cf9a32067a490d6687344e068641ea7e26.zip
RHEL/Fedora: enhance kdebase build, add patch to fix konqsidebar
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) );