summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuspendingreply.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-05-26 11:28:42 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-05-26 11:28:42 (GMT)
commitf2d6af86383cfd9d5344673f4c755f06b900fa46 (patch)
treea00711f73c644f59523899627d309fd8665ca07c /src/dbus/qdbuspendingreply.cpp
parent70ae881499ec329e6fdf96d56a6189f77641b3b0 (diff)
parent39b861b75566c4db0db3b5aba2aa191a59f10bdb (diff)
downloadQt-f2d6af86383cfd9d5344673f4c755f06b900fa46.zip
Qt-f2d6af86383cfd9d5344673f4c755f06b900fa46.tar.gz
Qt-f2d6af86383cfd9d5344673f4c755f06b900fa46.tar.bz2
Merge branch '4.7' of scm.dev.troll.no:qt/qt into 4.7
Conflicts: src/gui/kernel/qapplication_s60.cpp
Diffstat (limited to 'src/dbus/qdbuspendingreply.cpp')
-rw-r--r--src/dbus/qdbuspendingreply.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus/qdbuspendingreply.cpp b/src/dbus/qdbuspendingreply.cpp
index 40cf6e3..891b348 100644
--- a/src/dbus/qdbuspendingreply.cpp
+++ b/src/dbus/qdbuspendingreply.cpp
@@ -254,7 +254,7 @@ void QDBusPendingReplyData::assign(const QDBusPendingCall &other)
void QDBusPendingReplyData::assign(const QDBusMessage &message)
{
- d = new QDBusPendingCallPrivate; // drops the reference to the old one
+ d = new QDBusPendingCallPrivate(QDBusMessage(), 0); // drops the reference to the old one
d->replyMessage = message;
}
@@ -273,6 +273,7 @@ QVariant QDBusPendingReplyData::argumentAt(int index) const
void QDBusPendingReplyData::setMetaTypes(int count, const int *types)
{
Q_ASSERT(d);
+ QMutexLocker locker(&d->mutex);
d->setMetaTypes(count, types);
d->checkReceivedSignature();
}