aboutsummaryrefslogtreecommitdiff
path: root/components/LabelSubheader.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/LabelSubheader.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/LabelSubheader.qml')
-rw-r--r--components/LabelSubheader.qml7
1 files changed, 4 insertions, 3 deletions
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
}
}