aboutsummaryrefslogtreecommitdiff
path: root/lib/settings.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-31 05:38:54 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-31 05:39:37 +0100
commit3150fd8efd1d39dbcb836a9d9dbf2bd139ff1418 (patch)
treecb12e9b8e831a8a3172101be904b778bfbae2cc1 /lib/settings.cpp
parent674e984e459375974f619d0e778d43a2cc928dc3 (diff)
parent418b85c285fa0a0c196a26eef5cc0c9c3dbe20fe (diff)
downloadlibquotient-3150fd8efd1d39dbcb836a9d9dbf2bd139ff1418.tar.gz
libquotient-3150fd8efd1d39dbcb836a9d9dbf2bd139ff1418.zip
Merge: Cleanup across the code base
Diffstat (limited to 'lib/settings.cpp')
-rw-r--r--lib/settings.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/settings.cpp b/lib/settings.cpp
index ed9082b0..5549e4de 100644
--- a/lib/settings.cpp
+++ b/lib/settings.cpp
@@ -102,11 +102,11 @@ void SettingsGroup::remove(const QString& key)
Settings::remove(fullKey);
}
-QTNT_DEFINE_SETTING(AccountSettings, QString, deviceId, "device_id", {},
+QUO_DEFINE_SETTING(AccountSettings, QString, deviceId, "device_id", {},
setDeviceId)
-QTNT_DEFINE_SETTING(AccountSettings, QString, deviceName, "device_name", {},
+QUO_DEFINE_SETTING(AccountSettings, QString, deviceName, "device_name", {},
setDeviceName)
-QTNT_DEFINE_SETTING(AccountSettings, bool, keepLoggedIn, "keep_logged_in", false,
+QUO_DEFINE_SETTING(AccountSettings, bool, keepLoggedIn, "keep_logged_in", false,
setKeepLoggedIn)
static const auto HomeserverKey = QStringLiteral("homeserver");