SVN commit 522272 by fjcruz:
Bug fixed: if the user modifies the profiles path under some conditions, digiKam crashes.
CCMAIL:
[hidden email]
M +2 -2 setupicc.cpp
--- trunk/extragear/graphics/digikam/utilities/setup/setupicc.cpp #522271:522272
@@ -560,7 +560,7 @@
QStringList m_monitorICCFiles_description=0, m_inICCFiles_description=0,
m_proofICCFiles_description=0, m_workICCFiles_description=0;
- if (!files->isEmpty())
+ if (files)
{
QFileInfoListIterator it(*files);
QFileInfo *fileInfo;
@@ -632,7 +632,7 @@
cmsCloseProfile(tmpProfile);
}
}
- else if (files->isEmpty())
+ else
{
d->mainDialog->enableButtonOK(false);
QString message = i18n("<p>Sorry, there is no profiles files in ");
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel