Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
KMix
Commits
d136dfc9
Commit
d136dfc9
authored
Apr 24, 2013
by
Alexander Akulich
Committed by
Rohan Garg
Apr 24, 2013
Browse files
KMix: Fix initial volume for MPRIS2.
REVIEW: 110044
BUG: 315383
parent
3ea6fbca
Changes
1
Hide whitespace changes
Inline
Side-by-side
backends/mixer_mpris2.cpp
View file @
d136dfc9
...
...
@@ -377,7 +377,7 @@ void Mixer_MPRIS2::addMprisControl(QDBusConnection& conn, QString busDestination
connect
(
mad
,
SIGNAL
(
volumeChanged
(
MPrisAppdata
*
,
double
)),
this
,
SLOT
(
volumeChanged
(
MPrisAppdata
*
,
double
))
);
conn
.
connect
(
busDestination
,
QString
(
"/Player"
),
"org.freedesktop.MediaPlayer"
,
"TrackChange"
,
mad
,
SLOT
(
trackChangedIncoming
(
QVariantMap
))
);
volumeChanged
(
mad
,
mad
->
playerIfc
->
property
(
"Volume"
).
toDouble
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment