diff options
Diffstat (limited to 'components/package/contents/ui/AccountSwitcher.qml')
-rw-r--r-- | components/package/contents/ui/AccountSwitcher.qml | 20 |
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 @@ | |||
19 | import QtQuick 2.4 | 19 | import QtQuick 2.4 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | import QtQuick.Controls 2.0 as Controls2 | 21 | import QtQuick.Controls 2.0 as Controls2 |
22 | import QtQuick.Controls 1.4 as Controls | ||
23 | |||
22 | import QtQml 2.2 as QtQml | 24 | import QtQml 2.2 as QtQml |
23 | 25 | ||
24 | import org.kde.kirigami 1.0 as Kirigami | 26 | import 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 | ||