[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/extragear/graphics/digikam/core
From: Michael Georg Hansen <mike () mghansen ! de>
Date: 2010-12-31 18:36:36
Message-ID: 20101231183636.0DAD0AC8AE () svn ! kde ! org
[Download RAW message or body]
SVN commit 1210500 by mghansen:
More fixing of borders.
M +2 -1 libs/imageproperties/imagegpsmodelhelper.cpp
M +1 -5 utilities/gpssearch/gpsmarkertiler.cpp
--- branches/extragear/graphics/digikam/core/libs/imageproperties/imagegpsmodelhelper.cpp \
#1210499:1210500 @@ -111,7 +111,8 @@
if (d->thumbnailLoadThread->find(currentGPSInfo.url.path(), thumbnail, \
qMax(size.width(), size.height()))) {
- return thumbnail;
+ // digikam returns thumbnails with a border around them, but libkmap expects \
them without a border + return thumbnail.copy(1, 1, \
thumbnail.size().width()-2, thumbnail.size().height()-2); }
else
{
--- branches/extragear/graphics/digikam/core/utilities/gpssearch/gpsmarkertiler.cpp \
#1210499:1210500 @@ -567,13 +567,9 @@
QString path = info.filePath();
d->thumbnailMap.insert(path, index);
-// if (d->thumbnailLoadThread->find(path, thumbnail, qMax(size.width(), \
size.height())))
-// {
-// return thumbnail;
-// }
-
if (d->thumbnailLoadThread->find(path, thumbnail, qMax(size.width()+2, \
size.height()+2))) {
+ // digikam returns thumbnails with a border around them, but libkmap expects \
them without a border
return thumbnail.copy(1, 1, thumbnail.size().width()-2, \
thumbnail.size().height()-2); }
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic