diff widgets/IconLoader.cpp @ 1003:5fdf5cd032ac 3.0-integration

Remove some debug
author Chris Cannam
date Wed, 14 Oct 2015 13:32:53 +0100
parents 85b39667e9cf
children a9c2e791ab8d
line wrap: on
line diff
--- a/widgets/IconLoader.cpp	Wed Oct 14 10:12:59 2015 +0100
+++ b/widgets/IconLoader.cpp	Wed Oct 14 13:32:53 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;
 }