Skip to content

Commit

Permalink
Avoid overflow in quit dialog of Qt Quick GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Feb 2, 2025
1 parent bd4cbd1 commit afe9b63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tray/gui/qml/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ ApplicationWindow {
title: window.title
contentItem: Label {
Layout.fillWidth: true
text: qsTr("Do you want to shutdown Syncthing? You can also just quit the app and keep Syncthing running in the backround.")
text: qsTr("Do you want to shutdown Syncthing and quit the app? You can also just quit the app and keep Syncthing running in the backround.")
wrapMode: Text.WordWrap
}
onAccepted: {
Expand All @@ -482,12 +482,12 @@ ApplicationWindow {
DialogButtonBox.buttonRole: DialogButtonBox.RejectRole
}
Button {
text: qsTr("Shutdown Syncthing and quit app")
text: qsTr("Shutdown")
flat: true
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
}
Button {
text: qsTr("Run in background")
text: qsTr("Background")
flat: true
onClicked: {
closeDialog.close();
Expand Down

0 comments on commit afe9b63

Please sign in to comment.