summaryrefslogtreecommitdiffstats
path: root/qt/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt/connection.cpp')
-rw-r--r--qt/connection.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/qt/connection.cpp b/qt/connection.cpp
index 936db3eb..830987d6 100644
--- a/qt/connection.cpp
+++ b/qt/connection.cpp
@@ -42,23 +42,16 @@ Connection::Connection( const QString& host )
connect( d->integrator, SIGNAL(readReady()),
SLOT(dispatchRead()) );
- initDbus();
-
if ( !host.isEmpty() )
init( host );
}
-void Connection::initDbus()
-{
-}
-
void Connection::init( const QString& host )
{
dbus_error_init( &d->error );
d->connection = dbus_connection_open( host.ascii(), &d->error );
//dbus_connection_allocate_data_slot( &d->connectionSlot );
//dbus_connection_set_data( d->connection, d->connectionSlot, 0, 0 );
- initDbus();
}
bool Connection::isConnected() const