diff options
author | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2012-03-02 04:07:59 -0300 |
---|---|---|
committer | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2012-04-02 10:26:30 -0300 |
commit | 4983148213e9b971a50205baed1715a2954770fa (patch) | |
tree | 63186d2233e027253a44873456ff0d8f8b6d1db5 /examples | |
parent | 112ec8ecf9bdb5d62e3379ed73a9a26d4b29b36c (diff) |
BaseConnectionManager: Make it a shared ptr.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/cm/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cm/main.cpp b/examples/cm/main.cpp index de0d09e0..b8dde898 100644 --- a/examples/cm/main.cpp +++ b/examples/cm/main.cpp @@ -17,7 +17,7 @@ int main(int argc, char **argv) Tp::enableDebug(true); Tp::enableWarnings(true); - BaseConnectionManager *cm = new BaseConnectionManager( + BaseConnectionManagerPtr cm = BaseConnectionManager::create( QDBusConnection::sessionBus(), QLatin1String("TpQtExampleCM")); cm->registerObject(); |