From aca84cb4ef24c1b4b9e3d53126081db8b14855e2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 12 Aug 2015 20:24:52 +0200 Subject: Change color setting types to `string` While `color` would obviously be the correct type to store a color value it is serialized as a `QVariant` value which is not easily changeable by the user. This requirement is satisfied by `string` and as such this type is - at this point in time - a superior replacement of `color`. Should the QML settings module be changed to serialize color values in a human readable fashion these types should be changed back to their formally correct value. --- qml/EmbeddedTerminal.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qml/EmbeddedTerminal.qml') diff --git a/qml/EmbeddedTerminal.qml b/qml/EmbeddedTerminal.qml index d2cab9e..6d0dc6e 100644 --- a/qml/EmbeddedTerminal.qml +++ b/qml/EmbeddedTerminal.qml @@ -18,8 +18,8 @@ Item { property int fontSize : 8 property string fontFamily : "Monospace" property string colorScheme : "cool-retro-term" - property color overlayBackground : "black" - property color overlayFontColor : "white" + property string overlayBackground : "black" + property string overlayFontColor : "white" } property int lines : settings.initialLines -- cgit v1.2.3