summaryrefslogtreecommitdiffstats
path: root/src/dbus
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-11-08 16:52:52 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-11-08 16:52:52 (GMT)
commit5c05470ea96dcb25deb21a64eddffcb2d4ff6fcf (patch)
tree159bfdc64cda393e74298393ad5149ab4757bbb2 /src/dbus
parent7623cf03a68d5c071b06cf50d23e393a37265d95 (diff)
downloadQt-5c05470ea96dcb25deb21a64eddffcb2d4ff6fcf.zip
Qt-5c05470ea96dcb25deb21a64eddffcb2d4ff6fcf.tar.gz
Qt-5c05470ea96dcb25deb21a64eddffcb2d4ff6fcf.tar.bz2
Fix enabling of level 2 debugging in QtDBus
Diffstat (limited to 'src/dbus')
-rw-r--r--src/dbus/qdbusintegrator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus/qdbusintegrator.cpp b/src/dbus/qdbusintegrator.cpp
index c7538c3..626d215 100644
--- a/src/dbus/qdbusintegrator.cpp
+++ b/src/dbus/qdbusintegrator.cpp
@@ -934,7 +934,8 @@ QDBusConnectionPrivate::QDBusConnectionPrivate(QObject *p)
rootNode(QString(QLatin1Char('/')))
{
static const bool threads = q_dbus_threads_init_default();
- static const int debugging = ::isDebugging = qgetenv("QDBUS_DEBUG").toInt();
+ static const int debugging = qgetenv("QDBUS_DEBUG").toInt();
+ ::isDebugging = debugging;
Q_UNUSED(threads)
Q_UNUSED(debugging)