From 35b34bca9572017539933bf1ea99b190c51e0b18 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 18 Jun 2020 15:07:34 +0200 Subject: Dbug spam --- src/loginrpc.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3-55-g7522