1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-06 09:17:07 +02:00

Formatting #2

This commit is contained in:
Elias Steurer 2023-11-29 15:41:59 +01:00
parent 51294c4912
commit ccd38b06b9

View File

@ -114,12 +114,12 @@ SystemTrayIcon {
if (miMuteAll.isMuted) { if (miMuteAll.isMuted) {
isMuted = false; isMuted = false;
miMuteAll.text = qsTr("Mute all"); miMuteAll.text = qsTr("Mute all");
miMuteAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_volume_mute.svg" miMuteAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_volume_mute.svg";
App.screenPlayManager.setAllWallpaperValue("muted", "true"); App.screenPlayManager.setAllWallpaperValue("muted", "true");
} else { } else {
isMuted = true; isMuted = true;
miMuteAll.text = qsTr("Unmute all"); miMuteAll.text = qsTr("Unmute all");
miMuteAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_volume_up.svg" miMuteAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_volume_up.svg";
App.screenPlayManager.setAllWallpaperValue("muted", "false"); App.screenPlayManager.setAllWallpaperValue("muted", "false");
} }
} }
@ -136,12 +136,12 @@ SystemTrayIcon {
if (miStopAll.isPlaying) { if (miStopAll.isPlaying) {
isPlaying = false; isPlaying = false;
miStopAll.text = qsTr("Pause all"); miStopAll.text = qsTr("Pause all");
miStopAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_pause.svg" miStopAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_pause.svg";
App.screenPlayManager.setAllWallpaperValue("isPlaying", "true"); App.screenPlayManager.setAllWallpaperValue("isPlaying", "true");
} else { } else {
isPlaying = true; isPlaying = true;
miStopAll.text = qsTr("Play all"); miStopAll.text = qsTr("Play all");
miStopAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_play.svg" miStopAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_play.svg";
App.screenPlayManager.setAllWallpaperValue("isPlaying", "false"); App.screenPlayManager.setAllWallpaperValue("isPlaying", "false");
} }
} }