aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-08-22 21:02:48 +0200
committerAdrian Kummerlaender2015-08-22 21:02:48 +0200
commit955d972c2dab284883391ff395a92df9c6a06130 (patch)
tree8aae1170437fa66ab98c63ced39360c3cd982b98 /src
parentd58de87c338415457c6ff9f546f707a51ca42493 (diff)
downloadMetaTerm-955d972c2dab284883391ff395a92df9c6a06130.tar
MetaTerm-955d972c2dab284883391ff395a92df9c6a06130.tar.gz
MetaTerm-955d972c2dab284883391ff395a92df9c6a06130.tar.bz2
MetaTerm-955d972c2dab284883391ff395a92df9c6a06130.tar.lz
MetaTerm-955d972c2dab284883391ff395a92df9c6a06130.tar.xz
MetaTerm-955d972c2dab284883391ff395a92df9c6a06130.tar.zst
MetaTerm-955d972c2dab284883391ff395a92df9c6a06130.zip
Use window background as `TerminalItem` selection text color
Diffstat (limited to 'src')
-rw-r--r--src/StateHandler.qml1
-rw-r--r--src/list/TerminalItem.qml3
2 files changed, 1 insertions, 3 deletions
diff --git a/src/StateHandler.qml b/src/StateHandler.qml
index 7f8ef96..118706c 100644
--- a/src/StateHandler.qml
+++ b/src/StateHandler.qml
@@ -1,6 +1,5 @@
import QtQuick 2.0
import QtQuick.Controls 1.2
-import Qt.labs.settings 1.0
Item {
id: item
diff --git a/src/list/TerminalItem.qml b/src/list/TerminalItem.qml
index 06b60b9..febd116 100644
--- a/src/list/TerminalItem.qml
+++ b/src/list/TerminalItem.qml
@@ -1,7 +1,6 @@
import QtQuick 2.0
import QtQuick.Controls 1.2
import QtQuick.Layouts 1.1
-import Qt.labs.settings 1.0
Item {
id: item
@@ -135,7 +134,7 @@ Item {
color: settings.item.fontColor
selectionColor: settings.item.fontColor
- selectedTextColor: "#161616"
+ selectedTextColor: settings.window.background
selectByMouse: true
focus: true