summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/main.qml16
1 files changed, 14 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index e58c83689..bf0830f46 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -55,8 +55,20 @@ Kirigami.ApplicationWindow {
}
visible: false
- // TODO: Verify where the opacity went to.
- // opacity: 0
+ BusyIndicator {
+ id: busy
+ running: false
+ anchors.fill: parent
+ anchors.margins: Kirigami.Units.gridUnit
+ }
+
+ function showBusy() {
+ busy.running = true
+ }
+
+ function hideBusy() {
+ busy.running = false
+ }
function returnTopPage() {
for (var i=pageStack.depth; i>1; i--) {