[Digikam-devel] [Bug 282194] digikam 2.1.1 crashes when displaying thumbnails in import screen
Gilles Caulier
caulier.gilles at gmail.com
Sun Sep 25 11:44:27 BST 2011
https://bugs.kde.org/show_bug.cgi?id=282194
--- Comment #8 from Gilles Caulier <caulier gilles gmail com> 2011-09-25 10:44:26 ---
Fixed by Andi, i think, with this commit :
M +1 -1 utilities/cameragui/views/cameraiconview.cpp
http://commits.kde.org/digikam/ac1ba148ebb68662d6bd4401e86ea8c15c10b4e9
diff --git a/utilities/cameragui/views/cameraiconview.cpp
b/utilities/cameragui/views/cameraiconview.cpp
index 08dc27a..d57e329 100644
--- a/utilities/cameragui/views/cameraiconview.cpp
+++ b/utilities/cameragui/views/cameraiconview.cpp
@@ -227,7 +227,7 @@ CachedItem CameraIconView::getThumbInfo(const CamItemInfo&
itemInfo) const
void CameraIconView::slotThumbInfoReady(const CamItemInfo& info)
{
CameraIconItem* item = findItem(info.folder, info.name);
- if (!item)
+ if (item)
{
// Updating item, thumb controller will be called to refresh icon item.
See repaint() method for details.
item->update();
Please confirm and report. Thanks in advance
Gilles Caulier
--
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