[Digikam-devel] extragear/graphics/digikam/utilities/setup
Francisco J. Cruz
fj.cruz at supercable.es
Fri Mar 24 22:59:07 GMT 2006
SVN commit 522272 by fjcruz:
Bug fixed: if the user modifies the profiles path under some conditions, digiKam crashes.
CCMAIL:digikam-devel at kde.org
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 ");
More information about the Digikam-devel
mailing list