mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
print if debug only
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3003 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
be6de5154c
commit
c2fd405d42
@ -46,8 +46,10 @@ QPixmap QgsSVGCache::getPixmap(QString filename, double scaleFactor) {
|
|||||||
|
|
||||||
// if we already have the pixmap, return it
|
// if we already have the pixmap, return it
|
||||||
if (iter != pixmapMap.end()) {
|
if (iter != pixmapMap.end()) {
|
||||||
|
#if QGISDEBUG > 2
|
||||||
std::cerr<<"SVGCACHE: "<<filename<<"["<<scaleFactor
|
std::cerr<<"SVGCACHE: "<<filename<<"["<<scaleFactor
|
||||||
<<"] is already loaded"<<std::endl;
|
<<"] is already loaded"<<std::endl;
|
||||||
|
#endif
|
||||||
return iter->second;
|
return iter->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user