mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2025-01-12 00:40:32 +08:00
removed unnecessary DEBUG-output
This commit is contained in:
parent
869c83222a
commit
841e5ac916
@ -201,7 +201,7 @@ QSize JKQTPlotter::getImageBufferSize(float* scale_out) const
|
||||
scale = windowHandle->devicePixelRatio();
|
||||
}
|
||||
}
|
||||
qDebug()<<"scale="<<scale<<", dprF="<<devicePixelRatioF()<<", dpr="<<devicePixelRatio()<<" widgetsize="<<QSize(width(),height())<<" img:deviceindependensize="<<QSize(imagewidth,imageheight)<<" img.size.raw="<<QSize(width()*scale, height()*scale);
|
||||
//qDebug()<<"scale="<<scale<<", dprF="<<devicePixelRatioF()<<", dpr="<<devicePixelRatio()<<" widgetsize="<<QSize(width(),height())<<" img:deviceindependensize="<<QSize(imagewidth,imageheight)<<" img.size.raw="<<QSize(width()*scale, height()*scale);
|
||||
if (scale_out) *scale_out=scale;
|
||||
return QSize(imagewidth*scale, imageheight*scale);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user