summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/icons.cc2
-rw-r--r--client/svgloader.cc12
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