summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index 9ef745cc3..4d58bf968 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -180,9 +180,11 @@ void LoginDialog::postInit()
setContentSize(310, h);
#ifdef ANDROID
setDefaultSize(310, h, ImagePosition::UPPER_CENTER, 0, 0);
-#else
+#else // ANDROID
+
setDefaultSize(310, h, ImagePosition::CENTER, 0, 0);
-#endif
+#endif // ANDROID
+
center();
loadWindowState();
reflowLayout();