summaryrefslogtreecommitdiff
path: root/user.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 11:59:42 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 11:59:42 +0800
commiteba11889c757985b164c82da4d4b9b1a850c4c92 (patch)
tree9f8942be787644f7a1f01b76d78fde5bc80ddbc2 /user.cxx
parent8df77978203d33015c3a01fec1f4725add079919 (diff)
Rename timeZone to timezone
Diffstat (limited to 'user.cxx')
-rw-r--r--user.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/user.cxx b/user.cxx
index 872b863..906a36d 100644
--- a/user.cxx
+++ b/user.cxx
@@ -180,11 +180,11 @@ namespace RTClient {
}
}
- void User::setTimeZone(rtclient_user_timezone timeZone)
+ void User::setTimeZone(rtclient_user_timezone timezone)
{
- if (m_timeZone != timeZone) {
- m_timeZone = timeZone;
- emit timeZoneChanged();
+ if (m_timezone != timezone) {
+ m_timezone = timezone;
+ emit timezoneChanged();
}
}
@@ -272,8 +272,8 @@ namespace RTClient {
emit gecosChanged();
}
if (user->timezone) {
- m_timeZone = user->timezone;
- emit timeZoneChanged();
+ m_timezone = user->timezone;
+ emit timezoneChanged();
}
if (user->lang) {
m_lang = user->lang;
@@ -311,7 +311,7 @@ namespace RTClient {
m_signature = "";
m_gecos = "";
m_lang = RTCLIENT_USER_LANG_NONE;
- m_timeZone = RTCLIENT_USER_TIMEZONE_NONE;
+ m_timezone = RTCLIENT_USER_TIMEZONE_NONE;
m_privileged = false;
m_disabled = true;
}