aboutsummaryrefslogtreecommitdiff
path: root/src/widget
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-08-15 16:22:05 +0200
committerAdrian Kummerlaender2015-08-15 16:22:05 +0200
commit90da724a56c2ff20617d3e231a6ef877928df482 (patch)
treebda9514fb386de42217d7467a472f19d0fc911f9 /src/widget
parentd8431223d34476a17835a05d9508e92447f22479 (diff)
downloadMetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.gz
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.bz2
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.lz
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.xz
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.zst
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.zip
Expose component settings as properties
Otherwise they are not accessible to JS commands, i.e. they can not be changed in command mode.
Diffstat (limited to 'src/widget')
-rw-r--r--src/widget/Highlighter.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widget/Highlighter.qml b/src/widget/Highlighter.qml
index e42aeb1..b2db7f6 100644
--- a/src/widget/Highlighter.qml
+++ b/src/widget/Highlighter.qml
@@ -2,8 +2,7 @@ import QtQuick 2.0
import Qt.labs.settings 1.0
Item {
- Settings {
- id: settings
+ property Settings settings : Settings {
category: "highlighter"
property string defaultColor : "#909636"