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/TextBlock.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/TextBlock.qml') diff --git a/components/TextBlock.qml b/components/TextBlock.qml index 875a4bf7..e06c6ae9 100644 --- a/components/TextBlock.qml +++ b/components/TextBlock.qml @@ -1,10 +1,10 @@ import QtQuick 2.0 -import "." 1.0 +import "../components" as MoneroComponents TextEdit { - color: Style.defaultFontColor - font.family: Style.fontRegular.name + color: MoneroComponents.Style.defaultFontColor + font.family: MoneroComponents.Style.fontRegular.name wrapMode: Text.Wrap readOnly: true selectByMouse: true -- cgit v1.2.3