From d8404ce282917ef81418387f20fc5ee3607be391 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 15 Jun 2006 17:02:48 +0000 Subject: Removed annoying printf lines! --- client/icons.cc | 2 +- client/svgloader.cc | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/icons.cc b/client/icons.cc index 8d6f804..93fc137 100644 --- a/client/icons.cc +++ b/client/icons.cc @@ -68,7 +68,7 @@ QPixmap *loadIcon(char* fname) int dpix = qApp->desktop()->x11Info().appDpiX(); int dpiy = qApp->desktop()->x11Info().appDpiY(); - printf("DpiX: %d DpiY: %d\n", dpix, dpiy); + // printf("DpiX: %d DpiY: %d\n", dpix, dpiy); #ifdef CAIRO_SVG SVGLoader svg; diff --git a/client/svgloader.cc b/client/svgloader.cc index 642fda3..e56e927 100644 --- a/client/svgloader.cc +++ b/client/svgloader.cc @@ -78,26 +78,26 @@ QImage SVGLoader::load(QString file, unsigned int width, unsigned int height, fl if (width > 0) { if (rwidth>width) { wscale=(float)width/(float)rwidth; - printf ("rwidth/width = %f\n", wscale); + // printf ("rwidth/width = %f\n", wscale); } else { wscale=(float)rwidth/(float)width; - printf ("width/wwidth = %f\n", wscale); + // printf ("width/wwidth = %f\n", wscale); } } else { width=(int)(rwidth*wscale); - printf ("width = %i\n", width); + // printf ("width = %i\n", width); } if (height > 0) { if (rheight>height) { hscale=(float)height/(float)rheight; - printf ("height/rheight = %f\n", hscale); + // printf ("height/rheight = %f\n", hscale); } else { hscale=(float)rheight/(float)height; - printf ("rheight/height = %f\n", hscale); + // printf ("rheight/height = %f\n", hscale); } } else { height=(int)(rheight*hscale); - printf ("height = %i\n", height); + // printf ("height = %i\n", height); } // We will create a CAIRO_FORMAT_ARGB32 surface. We don't need to match -- cgit v1.2.3