mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Some more debug
This commit is contained in:
parent
ad8fda2965
commit
5002b26ed3
|
@ -132,9 +132,10 @@ QSizeF Utils::realDpi(QWidget* widgetOnScreen)
|
|||
kDebug() << "Found widget at output #" << selectedOutput->id();
|
||||
QRect outputRect(selectedOutput->pos(),selectedOutput->currentMode()->size());
|
||||
QSize szMM = selectedOutput->sizeMm();
|
||||
kDebug() << "Output size is " << szMM;
|
||||
kDebug() << "Output size is (mm) " << szMM;
|
||||
kDebug() << "Output rect is " << outputRect;
|
||||
if (selectedOutput->edid()) {
|
||||
kDebug() << "EDID WxH: " << selectedOutput->edid()->width() << 'x' << selectedOutput->edid()->height();
|
||||
kDebug() << "EDID WxH (cm): " << selectedOutput->edid()->width() << 'x' << selectedOutput->edid()->height();
|
||||
}
|
||||
if (szMM.width() > 0 && szMM.height() > 0 && outputRect.width() > 0 && outputRect.height() > 0
|
||||
&& selectedOutput->edid()
|
||||
|
|
Loading…
Reference in a new issue