diff options
-rw-r--r-- | src/StateHandler.qml | 3 | ||||
-rw-r--r-- | src/command/CommandInput.qml | 3 | ||||
-rw-r--r-- | src/list/TerminalItem.qml | 3 | ||||
-rw-r--r-- | src/main.qml | 3 | ||||
-rw-r--r-- | src/widget/Highlighter.qml | 3 |
5 files changed, 5 insertions, 10 deletions
diff --git a/src/StateHandler.qml b/src/StateHandler.qml index d9f5f5a..8de1091 100644 --- a/src/StateHandler.qml +++ b/src/StateHandler.qml @@ -8,8 +8,7 @@ Item { property Item terminalList : null property CommandInput commandInput : null - Settings { - id: settings + property Settings settings : Settings { category: "keybinding" property string insertMode : "i" diff --git a/src/command/CommandInput.qml b/src/command/CommandInput.qml index 99f5d0e..e980c80 100644 --- a/src/command/CommandInput.qml +++ b/src/command/CommandInput.qml @@ -13,8 +13,7 @@ Item { Layout.preferredHeight: container.height - Settings { - id: settings + property Settings settings : Settings { category: "command" property string background : "black" diff --git a/src/list/TerminalItem.qml b/src/list/TerminalItem.qml index 57197bd..4c71be4 100644 --- a/src/list/TerminalItem.qml +++ b/src/list/TerminalItem.qml @@ -11,8 +11,7 @@ Item { signal executed (int index) - Settings { - id: settings + property Settings settings : Settings { category: "item" property int fontSize : 18 diff --git a/src/main.qml b/src/main.qml index f7673dc..2965fa1 100644 --- a/src/main.qml +++ b/src/main.qml @@ -9,8 +9,7 @@ ApplicationWindow { visible: true - Settings { - id: settings + property Settings settings : Settings { category: "window" property string background : "#161616" 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" |