[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [spacebar] app/package/contents/ui: [app] Add a Loader to the MainPage and wait for AccountManager t
From: Martin Klapetek <mklapetek () kde ! org>
Date: 2016-03-16 0:18:36
Message-ID: E1afzAa-0005fC-1M () scm ! kde ! org
[Download RAW message or body]
Git commit 346b0982d4e4bd2811fbe0c3ab69927982736a1a by Martin Klapetek.
Committed on 16/03/2016 at 00:17.
Pushed by mklapetek into branch 'master'.
[app] Add a Loader to the MainPage and wait for AccountManager to become re=
ady
It cannot do much without a ready AccountManager, so wait with
everything until it is really ready
M +11 -2 app/package/contents/ui/MainPage.qml
http://commits.kde.org/spacebar/346b0982d4e4bd2811fbe0c3ab69927982736a1a
diff --git a/app/package/contents/ui/MainPage.qml b/app/package/contents/ui=
/MainPage.qml
index 21aafba..d62f223 100644
--- a/app/package/contents/ui/MainPage.qml
+++ b/app/package/contents/ui/MainPage.qml
@@ -40,7 +40,15 @@ MobileComponents.Page {
}
}
=
-// MobileComponents.RefreshableScrollView {
+ Loader {
+ anchors.fill: parent
+ active: telepathyManager.ready
+ sourceComponent: mainModelComponent
+ }
+
+ Component {
+ id: mainModelComponent
+
ColumnLayout {
id: rootLayout
anchors.fill: parent
@@ -95,6 +103,7 @@ MobileComponents.Page {
}
=
ColumnLayout {
+ id: messageLayout
width: parent.width
=
PlasmaExtras.Heading {
@@ -127,5 +136,5 @@ MobileComponents.Page {
}
}
}
-// }
+ }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic