summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-03-04 20:14:08 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-03-04 20:14:08 +0000
commit811a019e8933674e2669d1171cd99778576b67de (patch)
treedeb96e110fc094d79987207ca311dc8f4e396b63 /media-gfx/digikam/files
parentppc stable, bug #260266 (diff)
downloadgentoo-2-811a019e8933674e2669d1171cd99778576b67de.tar.gz
gentoo-2-811a019e8933674e2669d1171cd99778576b67de.tar.bz2
gentoo-2-811a019e8933674e2669d1171cd99778576b67de.zip
Add patch solving serious crashes when browsing images. Per bug #259984. Thanks to punraz for the patch.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/digikam/files')
-rw-r--r--media-gfx/digikam/files/0.10.0_rc2-browseImages.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/digikam/files/0.10.0_rc2-browseImages.patch b/media-gfx/digikam/files/0.10.0_rc2-browseImages.patch
new file mode 100644
index 000000000000..47aac4d7848c
--- /dev/null
+++ b/media-gfx/digikam/files/0.10.0_rc2-browseImages.patch
@@ -0,0 +1,24 @@
+--- digikam/imagepreviewbar.cpp
++++ ../imagepreviewbar.cpp
+@@ -682,16 +682,17 @@
+
+ bool ImagePreviewBar::eventFilter(QObject *obj, QEvent *ev)
+ {
+- if ( obj == qobject_cast<QObject*>(d->ratingBox) )
++ if ( obj == d->ratingBox )
+ {
+ if ( ev->type() == QEvent::Leave)
+ {
+- if (d->ratingItem)
++ // Cave: ratingBox->hide can recurse here again! See bug 184473
++ ThumbBarItem *item = d->ratingItem;
++ if (item)
+ {
+ unsetCursor();
++ d->ratingItem = 0;
+ d->ratingBox->hide();
+- ThumbBarItem *item = d->ratingItem;
+- d->ratingItem = 0;
+ item->repaint();
+ }
+ }