diff options
author | Simon Rettberg | 2020-12-14 12:05:48 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-12-14 12:05:48 +0100 |
commit | 99cf57ce27fca8927d697a070bb53db3fd12428c (patch) | |
tree | 3dc3e64b6a3e1849919b874fe3e812cde799a0e5 /src | |
parent | Fix layouting if no outputs are active (diff) | |
download | slxgreeter-99cf57ce27fca8927d697a070bb53db3fd12428c.tar.gz slxgreeter-99cf57ce27fca8927d697a070bb53db3fd12428c.tar.xz slxgreeter-99cf57ce27fca8927d697a070bb53db3fd12428c.zip |
Improve debug layout of screen setup
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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(); } |