summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Rettberg2020-06-18 15:07:34 +0200
committerSimon Rettberg2020-06-18 15:07:34 +0200
commit35b34bca9572017539933bf1ea99b190c51e0b18 (patch)
treebf113db8d22135f89ff9fc6a936ddc8a9c2e2cb9 /src
parentAdd CVT files (diff)
downloadslxgreeter-35b34bca9572017539933bf1ea99b190c51e0b18.tar.gz
slxgreeter-35b34bca9572017539933bf1ea99b190c51e0b18.tar.xz
slxgreeter-35b34bca9572017539933bf1ea99b190c51e0b18.zip
Dbug spam
Diffstat (limited to 'src')
-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;