From de252af3a67e0db0348a5ed6185c38dbe2010dde Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sat, 12 Apr 2014 21:41:38 +0200 Subject: [PATCH] Wrong if condition to mute kmix --- kded/plugins/pausemusic/pausemusicplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kded/plugins/pausemusic/pausemusicplugin.cpp b/kded/plugins/pausemusic/pausemusicplugin.cpp index 8c39d5519..3ca8e06d8 100644 --- a/kded/plugins/pausemusic/pausemusicplugin.cpp +++ b/kded/plugins/pausemusic/pausemusicplugin.cpp @@ -76,8 +76,8 @@ bool PauseMusicPlugin::receivePackage(const NetworkPackage& np) if (pauseConditionFulfilled) { if (use_mute) { QDBusInterface kmixInterface("org.kde.kmix", "/kmix/KMixWindow/actions/mute", "org.qtproject.Qt.QAction"); - if (isKMixMuted()) { - pausedSources.insert("mute"); + if (!isKMixMuted()) { + pausedSources.insert("mute"); //Fake source kmixInterface.call("trigger"); } } else {