diff options
author | Michal Malý <madcatxster@devoid-pointer.net> | 2019-10-08 16:00:01 +0200 |
---|---|---|
committer | Michal Malý <madcatxster@devoid-pointer.net> | 2019-10-08 17:34:47 +0200 |
commit | ef2279d14d7ef20a3bc32020215ddb6b3f99a9d2 (patch) | |
tree | 01a7f1252c1c57e34f8a1a9f032f45bc77abfa75 /qtmips_gui | |
parent | 5e185ed50df75ff647490cae43094fa54886c13f (diff) | |
download | qtmips-ef2279d14d7ef20a3bc32020215ddb6b3f99a9d2.tar.gz qtmips-ef2279d14d7ef20a3bc32020215ddb6b3f99a9d2.tar.bz2 qtmips-ef2279d14d7ef20a3bc32020215ddb6b3f99a9d2.zip |
Force black text in SrcEditor
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/srceditor.cpp | 2 |
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) { |