changeset 1003:5fdf5cd032ac 3.0-integration

Remove some debug
author Chris Cannam
date Wed, 14 Oct 2015 13:32:53 +0100
parents dc8092488005
children 2e3d388489e5 2937929ea6dc
files view/View.cpp widgets/IconLoader.cpp
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/view/View.cpp	Wed Oct 14 10:12:59 2015 +0100
+++ b/view/View.cpp	Wed Oct 14 13:32:53 2015 +0100
@@ -46,8 +46,8 @@
 
 #include <unistd.h>
 
-#define DEBUG_VIEW 1
-#define DEBUG_VIEW_WIDGET_PAINT 1
+//#define DEBUG_VIEW 1
+//#define DEBUG_VIEW_WIDGET_PAINT 1
 
 
 View::View(QWidget *w, bool showProgress) :
--- 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;
 }