summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-02 12:36:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-07-02 12:39:38 (GMT)
commit021d147d26cb332f88e90d8a2dca9ff940942b7a (patch)
tree8ecdbc460fe0c7facd91aeba24a5e01f84acaa3a /Source
parent5d8dcdf5be57e66ab3a50d9f17f94baf24424582 (diff)
parent963ddafeaabd2853002df66b6e873a379a75c45a (diff)
downloadCMake-021d147d26cb332f88e90d8a2dca9ff940942b7a.zip
CMake-021d147d26cb332f88e90d8a2dca9ff940942b7a.tar.gz
CMake-021d147d26cb332f88e90d8a2dca9ff940942b7a.tar.bz2
Merge topic 'qt-5.13'
963ddafeaa QtDialog: Use QPalette::WindowText instead of QPalette::Foreground 1a2d6bdefc Tests: Autogen: Use valid rcc compression levels Acked-by: Kitware Robot <kwrobot@kitware.com> 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);
}