From eba11889c757985b164c82da4d4b9b1a850c4c92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Mon, 30 Sep 2019 11:59:42 +0800 Subject: Rename timeZone to timezone --- user.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'user.cxx') 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; } -- cgit v1.2.3