aboutsummaryrefslogtreecommitdiff
path: root/components/TickDelegate.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/TickDelegate.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/TickDelegate.qml')
-rw-r--r--components/TickDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/TickDelegate.qml b/components/TickDelegate.qml
index 94ead579..b09b0ceb 100644
--- a/components/TickDelegate.qml
+++ b/components/TickDelegate.qml
@@ -27,8 +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
Item {
id: delegateItem
@@ -52,7 +52,7 @@ Item {
font.family: "Arial"
font.bold: true
font.pixelSize: 12 * scaleRatio
- color: Style.defaultFontColor
+ color: MoneroComponents.Style.defaultFontColor
text: {
if(currentIndex === 0) return qsTr("Default") + translationManager.emptyString
if(currentIndex === 13) return qsTr("High") + translationManager.emptyString