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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index aebe962cb..3a5c1ee93 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -178,9 +178,9 @@ void LoginDialog::postInit()
setContentSize(310, 250);
setContentSize(310, h);
#ifdef ANDROID
- setDefaultSize(310, h, ImageRect::UPPER_CENTER, 0, 0);
+ setDefaultSize(310, h, ImagePosition::UPPER_CENTER, 0, 0);
#else
- setDefaultSize(310, h, ImageRect::CENTER, 0, 0);
+ setDefaultSize(310, h, ImagePosition::CENTER, 0, 0);
#endif
center();
loadWindowState();