From 444f66ac291561f07d99babdffd459b12a4ee07a Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 31 Mar 2014 01:59:49 +0200 Subject: [PATCH] Some more output that can be of help --- core/utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/utils.cpp b/core/utils.cpp index 20b9712ad..8503dd54e 100644 --- a/core/utils.cpp +++ b/core/utils.cpp @@ -120,6 +120,7 @@ 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; QSizeF res(static_cast(outputRect.width())*25.4/szMM.width(), static_cast(outputRect.height())*25.4/szMM.height()); kDebug() << "Output DPI is " << res;