summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp6
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();
}