diff options
Diffstat (limited to 'src/kmplayerprocess.cpp')
-rw-r--r-- | src/kmplayerprocess.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/kmplayerprocess.cpp b/src/kmplayerprocess.cpp index 8e7f894..fcd5994 100644 --- a/src/kmplayerprocess.cpp +++ b/src/kmplayerprocess.cpp @@ -48,8 +48,8 @@ #include <tdeio/job.h> #ifdef HAVE_DBUS +# include "dbus/dbus.h" # include <kstaticdeleter.h> -# include <dbus/connection.h> #endif #include "kmplayerview.h" @@ -1897,19 +1897,16 @@ TDE_NO_EXPORT void FFMpeg::processStopped (TDEProcess *) { struct KMPLAYER_NO_EXPORT DBusStatic { DBusStatic (); ~DBusStatic (); - DBusQt::Connection *connection; // FIXME find a way to detect if already connected DBusConnection *dbus_connnection; }; static DBusStatic * dbus_static = 0L; DBusStatic::DBusStatic () - : connection (new DBusQt::Connection (DBUS_BUS_SESSION, 0L)), - dbus_connnection (0L) {} + : dbus_connnection (0L) {} DBusStatic::~DBusStatic () { dbus_connection_unref (dbus_connnection); - delete connection; dbus_static = 0L; } |