aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Malý <madcatxster@devoid-pointer.net>2019-10-08 16:00:01 +0200
committerMichal Malý <madcatxster@devoid-pointer.net>2019-10-08 17:34:47 +0200
commitef2279d14d7ef20a3bc32020215ddb6b3f99a9d2 (patch)
tree01a7f1252c1c57e34f8a1a9f032f45bc77abfa75
parent5e185ed50df75ff647490cae43094fa54886c13f (diff)
downloadqtmips-ef2279d14d7ef20a3bc32020215ddb6b3f99a9d2.tar.gz
qtmips-ef2279d14d7ef20a3bc32020215ddb6b3f99a9d2.tar.bz2
qtmips-ef2279d14d7ef20a3bc32020215ddb6b3f99a9d2.zip
Force black text in SrcEditor
-rw-r--r--qtmips_gui/srceditor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_gui/srceditor.cpp b/qtmips_gui/srceditor.cpp
index aaed0f2..43e9075 100644
--- a/qtmips_gui/srceditor.cpp
+++ b/qtmips_gui/srceditor.cpp
@@ -59,6 +59,8 @@ void SrcEditor::setup_common() {
p.setColor(QPalette::Inactive, QPalette::Base, Qt::white);
p.setColor(QPalette::Disabled, QPalette::Base, Qt::white);
setPalette(p);
+
+ setTextColor(Qt::black);
}
SrcEditor::SrcEditor(QWidget *parent) : Super(parent) {