summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-01 14:23:48 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-01 14:23:48 (GMT)
commitc56201bdac81d3d74efa9437a7ed2cef4285de6d (patch)
tree94e8e956c97dc28c0ba5ddf63658b7eb3eb49604 /Source
parent9d0ad814f6df30f5a94156f3aa0118d70e9fa34f (diff)
parent963ddafeaabd2853002df66b6e873a379a75c45a (diff)
downloadCMake-c56201bdac81d3d74efa9437a7ed2cef4285de6d.zip
CMake-c56201bdac81d3d74efa9437a7ed2cef4285de6d.tar.gz
CMake-c56201bdac81d3d74efa9437a7ed2cef4285de6d.tar.bz2
Merge branch 'qt-5.13' into release-3.15
Merge-request: !3500
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/RegexExplorer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/RegexExplorer.cxx b/Source/QtDialog/RegexExplorer.cxx
index cb67f85..746fd8a 100644
--- a/Source/QtDialog/RegexExplorer.cxx
+++ b/Source/QtDialog/RegexExplorer.cxx
@@ -20,7 +20,7 @@ void RegexExplorer::setStatusColor(QWidget* widget, bool successful)
QColor color = successful ? QColor(0, 127, 0) : Qt::red;
QPalette palette = widget->palette();
- palette.setColor(QPalette::Foreground, color);
+ palette.setColor(QPalette::WindowText, color);
widget->setPalette(palette);
}