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/LabelSubheader.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'components/LabelSubheader.qml') diff --git a/components/LabelSubheader.qml b/components/LabelSubheader.qml index daa067e0..a2e4545e 100644 --- a/components/LabelSubheader.qml +++ b/components/LabelSubheader.qml @@ -27,7 +27,8 @@ // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import QtQuick 2.0 -import "." 1.0 + +import "../components" as MoneroComponents Label { id: item @@ -39,7 +40,7 @@ Label { anchors.left: parent.left anchors.right: parent.right height: 2 - color: Style.dividerColor - opacity: Style.dividerOpacity + color: MoneroComponents.Style.dividerColor + opacity: MoneroComponents.Style.dividerOpacity } } -- cgit v1.2.3