diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-21 09:51:35 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-21 16:46:57 +0900 |
| commit | 5931ac6f6c7cbb774a33575db26ae8cfd1d79ecb (patch) | |
| tree | d5b98fb766e42eec603e73c1f8364b69d2056539 /src/kmplayerprocess.cpp | |
| parent | ffd1a2b23bb4f8e2c7e5e2b32ea52e1798de1a55 (diff) | |
| download | kmplayer-5931ac6f6c7cbb774a33575db26ae8cfd1d79ecb.tar.gz kmplayer-5931ac6f6c7cbb774a33575db26ae8cfd1d79ecb.zip | |
Remove unused code that was causing a dependency on dbus-tqt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a8aa919300c70ce5d3cf8e706eb2980ad56a8c01)
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; } |
