summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-31 22:15:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-31 22:15:15 +0000
commit02859986a545c842a0c8948272f45e9925922e0f (patch)
tree7e2981cf8db35fca9b069ff8fdb54840af60efef
parent63c25ca8e57d5a06e74ee451d95b59f8f3806ba1 (diff)
downloaddigikam-02859986a545c842a0c8948272f45e9925922e0f.tar.gz
digikam-02859986a545c842a0c8948272f45e9925922e0f.zip
Fix digikam FTBFS under gcc4.6
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/digikam@1244236 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--digikam/utilities/imageeditor/editor/imageiface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/digikam/utilities/imageeditor/editor/imageiface.cpp b/digikam/utilities/imageeditor/editor/imageiface.cpp
index d6134b39..061fd394 100644
--- a/digikam/utilities/imageeditor/editor/imageiface.cpp
+++ b/digikam/utilities/imageeditor/editor/imageiface.cpp
@@ -140,7 +140,7 @@ DColor ImageIface::getColorInfoFromTargetPreviewImage(const TQPoint& point)
if ( d->targetPreviewImage.isNull() || point.x() > previewWidth() || point.y() > previewHeight() )
{
DWarning() << k_funcinfo << "Coordinate out of range or no image data available!" << endl;
- return DColor::DColor();
+ return DColor();
}
return d->targetPreviewImage.getPixelColor(point.x(), point.y());