SVN commit 526558 by fjcruz:
Minor code clean-up.
CCMAIL:
[hidden email]
M +3 -3 dimg.cpp
--- trunk/extragear/graphics/digikam/libs/dimg/dimg.cpp #526557:526558
@@ -1136,8 +1136,7 @@
if (isNull())
return QPixmap();
- DImg img(*this);
- img.detach();
+ DImg img = copy(0, 0, width(), height());
IccTransform trans;
@@ -1148,6 +1147,7 @@
QFile::encodeName(monitorProfile) );
trans.apply( img );
}
+ // With embedd profile.
else
{
trans.getEmbeddedProfile( img );
@@ -1155,7 +1155,7 @@
trans.apply( img );
}
-
+ img.convertToPixmap();
}
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel