summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2015-11-07 12:10:35 +0100
committerAleix Pol <[email protected]>2015-11-07 12:10:35 +0100
commit59267bfc979fa4a90bc30e799ec1f200c0ce862b (patch)
tree1a24e3fe5739a4be29fe00217ac390f54b8ace69
parentf47b60aecb273a8a4e6128001b9008272fadb8d0 (diff)
Add a subtitle in the main menu
-rw-r--r--mobile/plugins/widgets/material/KAlgebraMobile.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile/plugins/widgets/material/KAlgebraMobile.qml b/mobile/plugins/widgets/material/KAlgebraMobile.qml
index d2abc9d..e09d664 100644
--- a/mobile/plugins/widgets/material/KAlgebraMobile.qml
+++ b/mobile/plugins/widgets/material/KAlgebraMobile.qml
@@ -56,8 +56,9 @@ ApplicationWindow
source: "qrc:/kde-edu-logo.png"
}
}
- delegate: ListItem.Standard {
+ delegate: ListItem.Subtitled {
text: title
+ subText: subtitle
selected: mainUi.source == model.path
onClicked: {
mainUi.source = model.path