summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-08-10 15:36:17 +0200
committerSimon Rettberg2021-08-10 15:36:17 +0200
commit975f140d3a44ce7ed3448744f82d3db22a5ddb4b (patch)
treef2d9c4733e62ff74b28fd4c2db1312d5a0c33d60
parentDon't re-layout mainwindow if nothing changed (diff)
downloadslxgreeter-975f140d3a44ce7ed3448744f82d3db22a5ddb4b.tar.gz
slxgreeter-975f140d3a44ce7ed3448744f82d3db22a5ddb4b.tar.xz
slxgreeter-975f140d3a44ce7ed3448744f82d3db22a5ddb4b.zip
More size fixing crap
-rw-r--r--src/loginform.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/loginform.cpp b/src/loginform.cpp
index 39cdf64..8206729 100644
--- a/src/loginform.cpp
+++ b/src/loginform.cpp
@@ -54,6 +54,9 @@ LoginForm::LoginForm(QWidget *parent) :
shibSize.rwidth() += 350;
shibSize.rheight() += 250;
}
+ if (!Settings::shibSessionEnabled() && !Settings::guestSessionEnabled()) {
+ origSize.rheight() -= 64;
+ }
initialize();
int port = Settings::rpcPort();
if (port != 0) {