~mandel/ubuntu-download-manager/support-data-uri

« back to all changes in this revision

Viewing changes to src/common/priv/ubuntu/transfers/system/dbus_proxy_factory.cpp

  • Committer: CI bot
  • Author(s): Manuel de la Peña
  • Date: 2014-12-02 09:37:06 UTC
  • mfrom: (332.1.1 fix-dbus-merge)
  • Revision ID: ps-jenkins@lists.canonical.com-20141202093706-bhp35g2cuqqq0jl2
Fix wrong bus used to query apparmor profile breaking download-manager. 
Approved by: Manuel de la Peña

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
}
39
39
 
40
40
DBusProxy*
41
 
DBusProxyFactory::createDBusProxy(QObject* parent) {
42
 
    return new DBusProxy(DBUS_SERVICE_PATH, DBUS_OBJECT_PATH,
43
 
        QDBusConnection::sessionBus(), parent);
44
 
}
45
 
 
46
 
DBusProxy*
47
 
DBusProxyFactory::createDBusProxy(QSharedPointer<DBusConnection> connection,
 
41
DBusProxyFactory::createDBusProxy(DBusConnection* connection,
48
42
                                  QObject* parent) {
49
43
    return new DBusProxy(DBUS_SERVICE_PATH, DBUS_OBJECT_PATH,
50
44
        connection->connection(), parent);