aboutsummaryrefslogtreecommitdiff
path: root/user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'user.cpp')
-rw-r--r--user.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/user.cpp b/user.cpp
index 1b232ab8..2cc81fd9 100644
--- a/user.cpp
+++ b/user.cpp
@@ -50,7 +50,7 @@ class User::Private: public QObject
};
User::User(QString userId, Connection* connection)
- : d(new Private)
+ : QObject(connection), d(new Private)
{
d->q = this;
d->connection = connection;
@@ -147,4 +147,4 @@ void User::Private::gotAvatar(KJob* job)
Qt::KeepAspectRatio, Qt::SmoothTransformation);
scaledMap.clear();
emit q->avatarChanged(q);
-} \ No newline at end of file
+}