aboutsummaryrefslogtreecommitdiff
path: root/user.cpp
diff options
context:
space:
mode:
authorFelix Rohrbach <fxrh@gmx.de>2016-05-01 21:38:13 +0200
committerFelix Rohrbach <fxrh@gmx.de>2016-05-01 21:38:13 +0200
commit22a675a55ae2dac33a680531f4003fbfeb24ec39 (patch)
tree3c7e575cd64aea4fdcbd78a936f1913532105fb4 /user.cpp
parent00a73167ca455370868f1f82257420f0cb399a15 (diff)
parentaa8b077499653b6ebf2d78136c75c801e6f99c29 (diff)
downloadlibquotient-22a675a55ae2dac33a680531f4003fbfeb24ec39.tar.gz
libquotient-22a675a55ae2dac33a680531f4003fbfeb24ec39.zip
Merge pull request #3 from davidar/master
Resolve Matrix SRV records.
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
+}