Paste P375

Masterwork From Distant Lands
ActivePublic

Authored by apol on Apr 17 2019, 6:12 PM.
commit 3aadd3aa4c02bfa427050e8933d32e063cecabff
Author: Aleix Pol <aleixpol@kde.org>
Date: Wed Apr 17 20:09:28 2019 +0200
Allow to close Discover when there's ongoing jobs
BUG: 403465
diff --git a/discover/qml/DiscoverWindow.qml b/discover/qml/DiscoverWindow.qml
index 82024322..dc610f5c 100644
--- a/discover/qml/DiscoverWindow.qml
+++ b/discover/qml/DiscoverWindow.qml
@@ -127,7 +127,7 @@ Kirigami.ApplicationWindow
window.stack.push(errorPageComponent, { error: errorMessage, title: i18n("Sorry...") })
}
- onPreventedClose: showPassiveNotification(i18n("Could not close the application, there are tasks that need to be done."))
+ onPreventedClose: showPassiveNotification(i18n("Could not close Discover, there are tasks that need to be done."), 20000, i18n("Quit Anyway"), function() { Qt.quit() })
onUnableToFind: {
showPassiveNotification(i18n("Unable to find resource: %1", resid));
Navigation.openHome()
apol edited the content of this paste. (Show Details)Apr 17 2019, 6:12 PM
apol changed the title of this paste from untitled to Masterwork From Distant Lands.