summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/loginrpc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/loginrpc.cpp b/src/loginrpc.cpp
index dfb1757..30534a0 100644
--- a/src/loginrpc.cpp
+++ b/src/loginrpc.cpp
@@ -45,9 +45,11 @@ void LoginRpc::handleCommandV1(const QString &command)
}
QString res = lines[2];
QStringList parts = res.split("x");
+ qDebug() << "Got resolution" << res << "parsed to" << parts;
if (parts.size() == 2) {
int x = parts[0].toInt();
int y = parts[1].toInt();
+ qDebug() << "As int:" << x << y;
if (x > 0 && y > 0) {
x = (x / 8) * 8;
y = (y / 8) * 8;