From e638ed0272ca042f3ad77b680665a91ed8a35cce Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Sat, 31 Mar 2018 03:25:20 +0200 Subject: Explicitly import MoneroComponents; prevent namespace pollution --- components/SearchInput.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'components/SearchInput.qml') 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) } -- cgit v1.2.3