summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/AccountSwitcher.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/package/contents/ui/AccountSwitcher.qml')
-rw-r--r--components/package/contents/ui/AccountSwitcher.qml20
1 files changed, 11 insertions, 9 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml
index 41b3478c..d5f7610c 100644
--- a/components/package/contents/ui/AccountSwitcher.qml
+++ b/components/package/contents/ui/AccountSwitcher.qml
@@ -19,6 +19,8 @@
19import QtQuick 2.4 19import QtQuick 2.4
20import QtQuick.Layouts 1.1 20import QtQuick.Layouts 1.1
21import QtQuick.Controls 2.0 as Controls2 21import QtQuick.Controls 2.0 as Controls2
22import QtQuick.Controls 1.4 as Controls
23
22import QtQml 2.2 as QtQml 24import QtQml 2.2 as QtQml
23 25
24import org.kde.kirigami 1.0 as Kirigami 26import org.kde.kirigami 1.0 as Kirigami
@@ -156,18 +158,18 @@ Controls2.Button {
156 accountId: model.accountId 158 accountId: model.accountId
157 } 159 }
158 160
159 Kirigami.Icon { 161// Kirigami.Icon {
160 source: accountFactory.icon 162// source: model.icon
161 } 163// }
162 164
163 Controls2.Label { 165 Controls2.Label {
164 text: model.name === "" ? accountFactory.name : model.name 166 text: model.name
167 }
168
169 Controls.ToolButton {
170 visible: model.showStatus
171 source: model.statusIcon
165 } 172 }
166 //FIXME port to qqc2
167// Button {
168// visible: model.showStatus
169// source: model.statusIcon
170// }
171 } 173 }
172 Controls2.Button { 174 Controls2.Button {
173 175