diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-31 03:25:20 +0200 |
|---|---|---|
| committer | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-31 03:25:20 +0200 |
| commit | e638ed0272ca042f3ad77b680665a91ed8a35cce (patch) | |
| tree | 1c91223dd243221d644a0b22d2dc94563b264fdf /components/SearchInput.qml | |
| parent | 959c2fcc32d515f90cb39933689a37418197a095 (diff) | |
| download | monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip | |
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/SearchInput.qml')
| -rw-r--r-- | components/SearchInput.qml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/components/SearchInput.qml b/components/SearchInput.qml index bad7f06b..371f1698 100644 --- a/components/SearchInput.qml +++ b/components/SearchInput.qml @@ -28,6 +28,8 @@ import QtQuick 2.0 +import "../components" as MoneroComponents + Item { id: item signal searchClicked(string text, int option) @@ -213,18 +215,13 @@ Item { } } - StandardButton { + MoneroComponents.StandardButton { id: button anchors.top: parent.top anchors.bottom: parent.bottom anchors.right: parent.right anchors.margins: 6 width: 80 - - shadowReleasedColor: "#C60F00" - shadowPressedColor: "#8C0B00" - pressedColor: "#C60F00" - releasedColor: "#FF4F41" text: qsTr("SEARCH") onClicked: item.searchClicked(input.text, droplist.currentOption) } |
