diff widgets/IconLoader.cpp @ 1004:2e3d388489e5 tony-2.0-integration

Merge from branch "3.0-integration"
author Chris Cannam
date Wed, 14 Oct 2015 14:52:21 +0100
parents 5fdf5cd032ac
children a9c2e791ab8d
line wrap: on
line diff
--- a/widgets/IconLoader.cpp	Tue Oct 13 14:24:51 2015 +0100
+++ b/widgets/IconLoader.cpp	Wed Oct 14 14:52:21 2015 +0100
@@ -126,7 +126,7 @@
 IconLoader::loadScalable(QString name, int size)
 {
     if (!QFile(name).exists()) {
-        cerr << "loadScalable: no such file as: \"" << name << "\"" << endl;
+//        cerr << "loadScalable: no such file as: \"" << name << "\"" << endl;
         return QPixmap();
     }
     QPixmap pmap(size, size);
@@ -134,9 +134,9 @@
     QSvgRenderer renderer(name);
     QPainter painter;
     painter.begin(&pmap);
-    cerr << "calling renderer for " << name << " at size " << size << "..." << endl;
+//    cerr << "calling renderer for " << name << " at size " << size << "..." << endl;
     renderer.render(&painter);
-    cerr << "renderer completed" << endl;
+//    cerr << "renderer completed" << endl;
     painter.end();
     return pmap;
 }