mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: reformat the warning message when turning off auto sync
This is silly - it should be set up so it wraps by itself... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a1ec0d6724
commit
eefda2b090
1 changed files with 6 additions and 4 deletions
|
@ -147,10 +147,12 @@ Kirigami.ApplicationWindow {
|
|||
onTriggered: {
|
||||
syncToCloud = !syncToCloud
|
||||
if (!syncToCloud) {
|
||||
var alertText = "Turning off automatic sync to cloud causes all data to only be stored locally.\n"
|
||||
alertText += "This can be very useful in situations with limited or no network access.\n"
|
||||
alertText += "Please chose 'Manual sync with cloud' if you have network connectivity\n"
|
||||
alertText += "and want to sync your data to cloud storage."
|
||||
var alertText = "Turning off automatic sync to cloud causes all data\n"
|
||||
alertText +=" to only be stored locally.\n"
|
||||
alertText += "This can be very useful in situations with\n"
|
||||
alertText += " limited or no network access.\n"
|
||||
alertText += "Please chose 'Manual sync with cloud' if you have network\n"
|
||||
alertText += " connectivity and want to sync your data to cloud storage."
|
||||
showPassiveNotification(alertText, 10000)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue