1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00

Always use "quit" to close screenplay and not minimize

This commit is contained in:
Elias Steurer 2022-11-02 12:07:04 +01:00
parent f39b1cfdf7
commit 0c2d01cdcd
3 changed files with 5 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -27,7 +27,7 @@ Util.Popup {
spacing: 20 spacing: 20
Text { Text {
text: qsTr("You have active Wallpaper. ScreenPlay will keep running in the background.") text: qsTr("You have active Wallpaper.\nScreenPlay will only quit if no Wallpaper are running.")
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
@ -46,10 +46,10 @@ Util.Popup {
Text { Text {
text: { text: {
if (Qt.platform.os === "windows") { if (Qt.platform.os === "windows") {
return qsTr("You can <b>exit</b> ScreenPlay via the bottom right Tray-Icon.") return qsTr("You can <b>quit</b> ScreenPlay via the bottom right Tray-Icon.")
} }
if (Qt.platform.os === "osx") { if (Qt.platform.os === "osx") {
return qsTr("You can <b>exit</b> ScreenPlay via the top right Tray-Icon.") return qsTr("You can <b>quit</b> ScreenPlay via the top right Tray-Icon.")
} }
} }
@ -69,7 +69,7 @@ Util.Popup {
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
Layout.fillWidth: true Layout.fillWidth: true
Button { Button {
text: qsTr("Exit ScreenPlay now") text: qsTr("Quit ScreenPlay now")
onClicked: Qt.quit() onClicked: Qt.quit()
} }
Button { Button {

View File

@ -78,7 +78,7 @@ SystemTrayIcon {
} }
MenuItem { MenuItem {
text: qsTr("Quit") text: qsTr("Quit ScreenPlay")
onTriggered: App.exit() onTriggered: App.exit()
} }
} }