qjackctl/qjackctl-0.3.9-jackdbus_dont_stop_on_exit.patch

24 lines
872 B
Diff

diff -Nru qjackctl-0.3.9.orig/src/qjackctlMainForm.cpp qjackctl-0.3.9/src/qjackctlMainForm.cpp
--- qjackctl-0.3.9.orig/src/qjackctlMainForm.cpp 2012-05-14 23:33:11.000000000 +0200
+++ qjackctl-0.3.9/src/qjackctlMainForm.cpp 2012-08-07 15:41:20.403517472 +0200
@@ -1326,19 +1326,6 @@
m_pJack->terminate();
#endif
}
- #ifdef CONFIG_DBUS
- // Jack D-BUS server backend...
- if (m_pDBusControl) {
- QDBusMessage dbusm = m_pDBusControl->call("StopServer");
- if (dbusm.type() == QDBusMessage::ReplyMessage) {
- appendMessages(
- tr("D-BUS: JACK server is stopping..."));
- } else {
- appendMessagesError(
- tr("D-BUS: JACK server could not be stopped.\n\nSorry"));
- }
- }
- #endif
// Give it some time to terminate gracefully and stabilize...
stabilize(QJACKCTL_TIMER_MSECS);
// Keep on, if not exiting for good.