[Digikam-devel] [Bug 237555] Digikam crashed after moving two albums to the same destination album
Marcel Wiesweg
marcel.wiesweg at gmx.de
Sat May 15 13:21:18 BST 2010
https://bugs.kde.org/show_bug.cgi?id=237555
--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de> 2010-05-15 14:21:14 ---
SVN commit 1126674 by mwiesweg:
Check if dropped album (still) exists
CCBUG: 237555
M +5 -0 albumdragdrop.cpp
--- trunk/extragear/graphics/digikam/digikam/albumdragdrop.cpp #1126673:1126674
@@ -62,6 +62,9 @@
PAlbum *destAlbum = model()->albumForIndex(droppedOn);
+ if (!destAlbum)
+ return false;
+
if (DAlbumDrag::canDecode(e->mimeData()))
{
KUrl::List urls;
@@ -70,6 +73,8 @@
return false;
PAlbum *droppedAlbum = AlbumManager::instance()->findPAlbum(albumId);
+ if (!droppedAlbum)
+ return false;
// TODO Copy?
KMenu popMenu(view);
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list