Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/main.qml
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 153 | function endMoveStream() { | |||
---|---|---|---|---|---|
158 | sinkView.visible = true; | 158 | sinkView.visible = true; | ||
159 | sinkViewHeader.visible = true; | 159 | sinkViewHeader.visible = true; | ||
160 | } | 160 | } | ||
161 | 161 | | |||
162 | function playFeedback(sinkIndex) { | 162 | function playFeedback(sinkIndex) { | ||
163 | if (!volumeFeedback) { | 163 | if (!volumeFeedback) { | ||
164 | return; | 164 | return; | ||
165 | } | 165 | } | ||
166 | if (!sinkIndex) { | 166 | if (sinkIndex == undefined) { | ||
167 | sinkIndex = sinkModel.preferredSink.cardIndex; | 167 | sinkIndex = sinkModel.preferredSink.cardIndex; | ||
168 | } | 168 | } | ||
169 | feedback.play(sinkIndex); | 169 | feedback.play(sinkIndex); | ||
170 | } | 170 | } | ||
171 | 171 | | |||
172 | Plasmoid.compactRepresentation: PlasmaCore.IconItem { | 172 | Plasmoid.compactRepresentation: PlasmaCore.IconItem { | ||
173 | source: plasmoid.icon | 173 | source: plasmoid.icon | ||
174 | active: mouseArea.containsMouse | 174 | active: mouseArea.containsMouse | ||
▲ Show 20 Lines • Show All 252 Lines • Show Last 20 Lines |