summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Gottfried <sebastiangottfried@web.de>2016-09-29 15:32:37 (GMT)
committerSebastian Gottfried <sebastiangottfried@web.de>2016-09-29 15:32:37 (GMT)
commite081cae79c1866b718c56c73f44b06b56beba4b5 (patch)
treeb313f81a9424a7ea86fd96b61bf9f5aed5691135
parent9b3d7ca0cfd4618bcc58dbc80b9a9b11c115dc77 (diff)
HomeScreen: Use A Button For Profile Selection
The ToolButton component doesn't support rendering an icon and a text label at the same time.
-rw-r--r--src/qml/HomeScreen.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/HomeScreen.qml b/src/qml/HomeScreen.qml
index 47dfb1f..c0c907e 100644
--- a/src/qml/HomeScreen.qml
+++ b/src/qml/HomeScreen.qml
@@ -84,10 +84,10 @@ FocusScope {
anchors.rightMargin: 3
spacing: 5
- ToolButton {
+ Button {
// TODO: Find a better control here which supports both an icon and a label
id: profileButton
- // iconName: "user-identity"
+ iconName: "user-identity"
text: d.profile !== null? d.profile.name: ""
onClicked: {
if (checked) {