summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-20 15:30:52 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-04-20 15:30:57 (GMT)
commit686df6e136c5a35ec886134e2c12b5e88aeeeca0 (patch)
tree2702c71b3b71ecc21b9fa7353bfcda4a31188100 /Source
parent1d5285887ce86fc10e0ca346d0255392dc1649e3 (diff)
parent072b318893a84d38a5e96a7f5a6432d474d7b5ab (diff)
downloadCMake-686df6e136c5a35ec886134e2c12b5e88aeeeca0.zip
CMake-686df6e136c5a35ec886134e2c12b5e88aeeeca0.tar.gz
CMake-686df6e136c5a35ec886134e2c12b5e88aeeeca0.tar.bz2
Merge topic 'cmake-gui-font'
072b318893 cmake-gui: avoid undefined font in recent macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7178
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index f90b781..3c41fce 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -226,7 +226,8 @@ CMakeSetupDialog::CMakeSetupDialog()
this->SourceDirectory->setCompleter(new QCMakeFileCompleter(this, true));
// fixed pitch font in output window
- QFont outputFont("Courier");
+ QFont outputFont("Courier New");
+ outputFont.setStyleHint(QFont::Monospace);
this->Output->setFont(outputFont);
this->ErrorFormat.setForeground(QBrush(Qt::red));