diff options
author | deva <deva> | 2006-06-15 17:02:48 +0000 |
---|---|---|
committer | deva <deva> | 2006-06-15 17:02:48 +0000 |
commit | d8404ce282917ef81418387f20fc5ee3607be391 (patch) | |
tree | 84980da99b36003f0e81965ab6d80519c23abec3 /client | |
parent | 5f0763f63c085afe16478efc9b9d8f333a2e4e54 (diff) |
Removed annoying printf lines!
Diffstat (limited to 'client')
-rw-r--r-- | client/icons.cc | 2 | ||||
-rw-r--r-- | 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 |