[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/kphotoalbum
From: Miika Turkia <miika.turkia () gmail ! com>
Date: 2010-08-28 4:59:48
Message-ID: 20100828045948.DD701AC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1169001 by mturkia:
With the new Thumbnail-View KPA crashes when creating a stack from 2
selected images (either via Ctrl-3 or the context menu). Thanks to
Andreas Neustifter for reporting and patch.
M +6 -0 ChangeLog
M +5 -1 ThumbnailView/ThumbnailWidget.cpp
--- trunk/extragear/graphics/kphotoalbum/ChangeLog #1169000:1169001
@@ -1,3 +1,9 @@
+2010-08-28 Miika Turkia <miika.turkia@gmail.com>
+
+ * With the new Thumbnail-View KPA crashes when creating a stack from 2
+ selected images (either via Ctrl-3 or the context menu). Thanks to
+ Andreas Neustifter for reporting and patch.
+
2010-08-19 Jesper K. Pedersen <blackie@kdab.com>
* ThumbnailView has been completely rewritten, so that it is much
--- trunk/extragear/graphics/kphotoalbum/ThumbnailView/ThumbnailWidget.cpp #1169000:1169001
@@ -222,7 +222,11 @@
if ( _isSettingDate )
return;
- DB::ResultId id = model()->imageAt( currentIndex().row() );
+ int row = currentIndex().row();
+ if (row == -1)
+ return;
+
+ DB::ResultId id = model()->imageAt( row );
if ( id.isNull() )
return;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic