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
v3.5.13-sru
tpearson 14 years ago
parent 63c25ca8e5
commit 02859986a5

@ -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());

Loading…
Cancel
Save