From 245892ac07dd4f104601f4c3502094f54fc9c06e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 25 May 2010 17:14:03 +0200 Subject: Remove unused function in QDBusConnectionPrivate --- src/dbus/qdbusconnection.cpp | 8 -------- src/dbus/qdbusconnection_p.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/dbus/qdbusconnection.cpp b/src/dbus/qdbusconnection.cpp index abb3224..4382032 100644 --- a/src/dbus/qdbusconnection.cpp +++ b/src/dbus/qdbusconnection.cpp @@ -1003,14 +1003,6 @@ void QDBusConnectionPrivate::setSender(const QDBusConnectionPrivate *s) /*! \internal */ -void QDBusConnectionPrivate::setConnection(const QString &name, QDBusConnectionPrivate *c) -{ - _q_manager()->setConnection(name, c); -} - -/*! - \internal -*/ void QDBusConnectionPrivate::setBusService(const QDBusConnection &connection) { busService = new QDBusConnectionInterface(connection, this); diff --git a/src/dbus/qdbusconnection_p.h b/src/dbus/qdbusconnection_p.h index 34bb6b3..81af2c7 100644 --- a/src/dbus/qdbusconnection_p.h +++ b/src/dbus/qdbusconnection_p.h @@ -309,7 +309,6 @@ public: static QDBusConnection q(QDBusConnectionPrivate *connection) { return QDBusConnection(connection); } static void setSender(const QDBusConnectionPrivate *s); - static void setConnection(const QString &name, QDBusConnectionPrivate *c); friend class QDBusActivateObjectEvent; friend class QDBusCallDeliveryEvent; -- cgit v0.12