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
Plasma
Plasma PulseAudio Applet
Commits
7ce25134
Commit
7ce25134
authored
Jan 25, 2021
by
Nate Graham
Browse files
[kcm] Use onToggled: instead of onCheckedChanged: for checkboxes
This fixes a binding loop and is more correct in general.
parent
b1328e73
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kcm/package/contents/ui/Advanced.qml
View file @
7ce25134
...
...
@@ -69,7 +69,7 @@ KCM.SimpleKCM {
Layout.rightMargin
:
Kirigami
.
Units
.
gridUnit
/
2
text
:
i18nd
(
"
kcm_pulseaudio
"
,
"
Add virtual output device for simultaneous output on all local sound cards
"
)
checked
:
moduleManager
.
combineSinks
on
CheckedChang
ed
:
moduleManager
.
combineSinks
=
checked
;
on
Toggl
ed
:
moduleManager
.
combineSinks
=
checked
;
enabled
:
moduleManager
.
configModuleLoaded
visible
:
moduleManager
.
settingsSupported
}
...
...
@@ -80,7 +80,7 @@ KCM.SimpleKCM {
Layout.rightMargin
:
Kirigami
.
Units
.
gridUnit
/
2
text
:
i18nd
(
"
kcm_pulseaudio
"
,
"
Automatically switch all running streams when a new output becomes available
"
)
checked
:
moduleManager
.
switchOnConnect
on
CheckedChang
ed
:
moduleManager
.
switchOnConnect
=
checked
;
on
Toggl
ed
:
moduleManager
.
switchOnConnect
=
checked
;
enabled
:
moduleManager
.
configModuleLoaded
visible
:
moduleManager
.
settingsSupported
}
...
...
Write
Preview
Supports
Markdown
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