summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-06-05 13:59:46 +0200
committerSimon Rettberg2020-06-05 13:59:46 +0200
commit66a9cf3574d5c8581d6cef0b7ff6b2625b4858a5 (patch)
treecccf43882747176559e58a9c6df3cacb358ad4f9
parentAdd simple RPC to remotely trigger login (diff)
downloadslxgreeter-66a9cf3574d5c8581d6cef0b7ff6b2625b4858a5.tar.gz
slxgreeter-66a9cf3574d5c8581d6cef0b7ff6b2625b4858a5.tar.xz
slxgreeter-66a9cf3574d5c8581d6cef0b7ff6b2625b4858a5.zip
Restore accidentally deleted line
-rw-r--r--src/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 0876889..69554c4 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -44,6 +44,7 @@ public:
static QStringList clockShadow() { return s_settings->value("clock-shadow").toString().split(QRegExp("\\s"), QString::SkipEmptyParts); }
static QString usernamePlaceholder() { return s_settings->value("username-placeholder").toString(); }
static QString passwordPlaceholder() { return s_settings->value("password-placeholder").toString(); }
+ static bool guestSessionEnabled() { return s_settings->value("guest-session-enabled").toBool(); }
static QString userSessionButtonText() { return s_settings->value("user-session-button-text").toString(); }
static QString guestSessionButtonText() { return s_settings->value("guest-session-button-text").toString(); }
static QString guestSessionStartText() { return s_settings->value("guest-session-start-text").toString(); }