From d074854aae27ddbf3c62ccf7c7200f368d709c44 Mon Sep 17 00:00:00 2001 From: pazos Date: Fri, 13 Apr 2018 19:37:48 +0200 Subject: [PATCH] replace qDebug for qWarning, lean message --- main.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/main.cpp b/main.cpp index 33aeddd8..92b2c068 100644 --- a/main.cpp +++ b/main.cpp @@ -229,15 +229,9 @@ int main(int argc, char *argv[]) engine.rootContext()->setContextProperty("scaleRatio", 1); #endif - qDebug() << "available width: " << geo.width(); - qDebug() << "available height: " << geo.height(); - qDebug() << "devicePixelRatio: " << app.devicePixelRatio(); - qDebug() << "screen height: " << height; - qDebug() << "screen width: " << width; - qDebug() << "screen logical dpi: " << dpi; - qDebug() << "screen Physical dpi: " << physicalDpi; - qDebug() << "screen calculated ratio: " << calculated_ratio; - + qWarning().nospace() << "Qt:" << QT_VERSION_STR << " | screen: " << width + << "x" << height << " - dpi: " << dpi << " - ratio:" + << calculated_ratio; if (!moneroAccountsRootDir.empty()) { QString moneroAccountsDir = moneroAccountsRootDir.at(0) + "/Monero/wallets";