[Digikam-devel] [Bug 282194] digikam 2.1.1 crashes when displaying thumbnails in import screen

Gilles Caulier caulier.gilles at gmail.com
Mon Sep 26 16:03:39 BST 2011


https://bugs.kde.org/show_bug.cgi?id=282194





--- Comment #16 from Gilles Caulier <caulier gilles gmail com>  2011-09-26 15:03:39 ---
Veaceslav,

This is a non sence. look like the code is really where crash appear :

CameraIconItem* CameraIconView::findItem(const QString& folder, const QString&
filename) const
{
    QString sep;
    if (!folder.endsWith('/'))             // <=== CRASH HERE !!!
    {
        sep = '/';
    }

    return d->itemDict.value(folder+sep+filename);
}

... why ?

Can you place a debug statement to see contents of "folder" and "filename",
just before the test ?

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