diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-09-27 07:07:55 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-09-28 01:54:35 (GMT) |
commit | 2ff0dee1b97348a750532223f0a318596c93d412 (patch) | |
tree | 6f1a20225ce20112ba991423a99c9f3149f0f888 /src/plugins/bearer/icd/qnetworksession_impl.h | |
parent | 4acbb418b1ad093ad848143218a10ee2957db282 (diff) | |
download | Qt-2ff0dee1b97348a750532223f0a318596c93d412.zip Qt-2ff0dee1b97348a750532223f0a318596c93d412.tar.gz Qt-2ff0dee1b97348a750532223f0a318596c93d412.tar.bz2 |
Closes properly the dbus connection in icd backend
Diffstat (limited to 'src/plugins/bearer/icd/qnetworksession_impl.h')
-rw-r--r-- | src/plugins/bearer/icd/qnetworksession_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/bearer/icd/qnetworksession_impl.h b/src/plugins/bearer/icd/qnetworksession_impl.h index a879971..9ef9dc3 100644 --- a/src/plugins/bearer/icd/qnetworksession_impl.h +++ b/src/plugins/bearer/icd/qnetworksession_impl.h @@ -126,6 +126,8 @@ public: ~QNetworkSessionPrivateImpl() { cleanupSession(); + + QDBusConnection::disconnectFromBus(m_dbusInterface->connection().name()); } //called by QNetworkSession constructor and ensures |