From 2ce45e8059db318d2c5ca9ccadea7815bafa481f Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 19 Jul 2019 00:22:31 -0400 Subject: [PATCH] Convert option button into add account button Temporary --- src/icons/add-account.svg | 1 + src/qml/SidePane/PaneToolBar.qml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/icons/add-account.svg diff --git a/src/icons/add-account.svg b/src/icons/add-account.svg new file mode 100644 index 00000000..26d5c2ca --- /dev/null +++ b/src/icons/add-account.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/qml/SidePane/PaneToolBar.qml b/src/qml/SidePane/PaneToolBar.qml index 38b98190..2a8ad7f8 100644 --- a/src/qml/SidePane/PaneToolBar.qml +++ b/src/qml/SidePane/PaneToolBar.qml @@ -13,9 +13,11 @@ HRowLayout { Layout.preferredHeight: theme.baseElementsHeight HUIButton { - iconName: "settings" + iconName: "add-account" backgroundColor: theme.sidePane.settingsButton.background Layout.preferredHeight: parent.height + + onClicked: pageStack.showPage("SignIn") } HTextField {