From 99cf57ce27fca8927d697a070bb53db3fd12428c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 14 Dec 2020 12:05:48 +0100 Subject: Improve debug layout of screen setup --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index c513282..bdc79a6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -226,7 +226,7 @@ void setupScreens() if (old != nullptr) { // Existing if (old->showLoginForm() == (primary == it.key())) { - qDebug() << "Re-using existing window"; + qDebug() << "Re-using existing window for" << it.value(); old->setGeometry(it.value()); currentWindows.insert(it.key(), old); it.remove(); @@ -250,7 +250,7 @@ void setupScreens() old = remaining.take(remaining.firstKey()); if (old != nullptr) { if (old->showLoginForm() == (primary == it.key())) { - qDebug() << "This should never happen, reusing old window II"; + qDebug() << "This should never happen, reusing old window II" << it.value(); old->setGeometry(it.value()); } else { old->deleteLater(); @@ -259,7 +259,7 @@ void setupScreens() } } if (old == nullptr) { - qDebug() << "Adding a window"; + qDebug() << "Adding a window for" << it.value(); old = new MainWindow(primary == it.key(), it.key(), it.value()); old->show(); } -- cgit v1.2.3-55-g7522