aboutsummaryrefslogtreecommitdiff
path: root/components/TextBlock.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
commite638ed0272ca042f3ad77b680665a91ed8a35cce (patch)
tree1c91223dd243221d644a0b22d2dc94563b264fdf /components/TextBlock.qml
parent959c2fcc32d515f90cb39933689a37418197a095 (diff)
downloadmonzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/TextBlock.qml')
-rw-r--r--components/TextBlock.qml6
1 files changed, 3 insertions, 3 deletions
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