diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-06 19:43:34 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-06 19:43:34 +0000 |
commit | 2dd1664fb4f2b04a5feeac386687c0fb1e59afd4 (patch) | |
tree | f1a1ed48494a13a7852fc3188ca26a5e23794c72 /kde-base/kdegraphics/files | |
parent | Added ~mips for bug 87904. (diff) | |
download | gentoo-2-2dd1664fb4f2b04a5feeac386687c0fb1e59afd4.tar.gz gentoo-2-2dd1664fb4f2b04a5feeac386687c0fb1e59afd4.tar.bz2 gentoo-2-2dd1664fb4f2b04a5feeac386687c0fb1e59afd4.zip |
Added patch to fix crashes while expanding content tree. Closes bug #101558.
(Portage version: 2.0.51.22)
Diffstat (limited to 'kde-base/kdegraphics/files')
-rw-r--r-- | kde-base/kdegraphics/files/digest-kdegraphics-3.4.2-r2 | 1 | ||||
-rw-r--r-- | kde-base/kdegraphics/files/kdegraphics-3.4.2-kpdf-contentcrash.patch | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2-r2 b/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2-r2 new file mode 100644 index 000000000000..80c5b0d96ab2 --- /dev/null +++ b/kde-base/kdegraphics/files/digest-kdegraphics-3.4.2-r2 @@ -0,0 +1 @@ +MD5 50916460952c4142329a7c6a47fe1530 kdegraphics-3.4.2.tar.bz2 6579227 diff --git a/kde-base/kdegraphics/files/kdegraphics-3.4.2-kpdf-contentcrash.patch b/kde-base/kdegraphics/files/kdegraphics-3.4.2-kpdf-contentcrash.patch new file mode 100644 index 000000000000..646eba2d81c9 --- /dev/null +++ b/kde-base/kdegraphics/files/kdegraphics-3.4.2-kpdf-contentcrash.patch @@ -0,0 +1,17 @@ +diff -ur kdegraphics-3.4.2/kpdf/ui/toc.cpp kdegraphics-3.4.2-contentcrash/kpdf/ui/toc.cpp +--- kdegraphics-3.4.2/kpdf/ui/toc.cpp 2005-07-20 12:00:37.000000000 +0200 ++++ kdegraphics-3.4.2-contentcrash/kpdf/ui/toc.cpp 2005-08-06 21:17:27.000000000 +0200 +@@ -121,7 +121,12 @@ + + void TOC::slotExecuted( QListViewItem *i ) + { +- const QDomElement & e = static_cast< TOCItem* >( i )->element(); ++ TOCItem* tocItem = dynamic_cast<TOCItem*>( i ); ++ // that filters clicks on [+] that for a strange reason don't seem to be TOCItem* ++ if (tocItem == NULL) ++ return; ++ const QDomElement & e = tocItem->element(); ++ + QString externalFileName = e.attribute( "ExternalFileName" ); + if ( !externalFileName.isEmpty() ) + { |