summaryrefslogtreecommitdiff
path: root/user.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'user.cxx')
-rw-r--r--user.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/user.cxx b/user.cxx
index 3da2c33..3762f81 100644
--- a/user.cxx
+++ b/user.cxx
@@ -8,6 +8,14 @@ void User::setName(QString const& name)
}
}
+void User::setPassword(QString const& password)
+{
+ if (m_password != password) {
+ m_password = password;
+ emit passwordChanged();
+ }
+}
+
void User::setEmailAddress(QString const& emailAddress)
{
if (m_emailAddress != emailAddress) {