mpriscontrolplugin-win: send -1 volume to show per-app volume control is not supported
This commit is contained in:
parent
fb8646b309
commit
a59ea0e9b8
1 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,8 @@ bool MprisControlPlugin::receivePacket(const NetworkPacket &np)
|
|||
somethingToSend = true;
|
||||
}
|
||||
if (np.get<bool>(QStringLiteral("requestVolume"))) {
|
||||
answer.set(QStringLiteral("volume"), 100);
|
||||
// we don't support setting per-app volume levels yet
|
||||
answer.set(QStringLiteral("volume"), -1);
|
||||
somethingToSend = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue