diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-08-15 17:01:32 +0200 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-08-18 06:47:44 +1000 |
commit | aa844686c8792e80a1b1be97571da30626a1f803 (patch) | |
tree | e5ea32fa5ad628d3d457798774b3ad171a19f0e2 /media-gfx/digikam/files/digikam-5.1.0-albums-crashfix.patch | |
parent | kde-apps/konsole: USE=X requires kdelibs4support[X] (diff) | |
download | gentoo-aa844686c8792e80a1b1be97571da30626a1f803.tar.gz gentoo-aa844686c8792e80a1b1be97571da30626a1f803.tar.bz2 gentoo-aa844686c8792e80a1b1be97571da30626a1f803.zip |
media-gfx/digikam: Add USE=jpeg2k,opengl,openmp,panorama; fix configure
Choose some default USE flags
Patches to fix runtime crashes
Sort dependencies
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-gfx/digikam/files/digikam-5.1.0-albums-crashfix.patch')
-rw-r--r-- | media-gfx/digikam/files/digikam-5.1.0-albums-crashfix.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-gfx/digikam/files/digikam-5.1.0-albums-crashfix.patch b/media-gfx/digikam/files/digikam-5.1.0-albums-crashfix.patch new file mode 100644 index 000000000000..e22e8dfb0e82 --- /dev/null +++ b/media-gfx/digikam/files/digikam-5.1.0-albums-crashfix.patch @@ -0,0 +1,35 @@ +From: Gilles Caulier <caulier.gilles@gmail.com> +Date: Thu, 11 Aug 2016 11:41:08 +0000 +Subject: Fix CR #1368976 +X-Git-Url: http://quickgit.kde.org/?p=digikam.git&a=commitdiff&h=7c628bac74afe24dbc4ca66b1bd5d513e46f6377 +--- +Fix CR #1368976 +BUGS: 366630 +FIXED-IN: 5.2.0 +--- + + +--- a/libs/album/albumtreeview.cpp ++++ b/libs/album/albumtreeview.cpp +@@ -1089,6 +1089,11 @@ + + Album* const album = albumFilterModel()->albumForIndex(indexAt(event->pos())); + ++ if (!album) ++ { ++ return; ++ } ++ + if (album->isTrashAlbum()) + { + // For the moment, disabling context menu for trash. +@@ -1102,7 +1107,7 @@ + } + + // switch to the selected album if need +- if (d->selectOnContextMenu && album) ++ if (d->selectOnContextMenu) + { + setCurrentAlbums(QList<Album*>() << album); + } + |