diff options
author | Brad King <brad.king@kitware.com> | 2022-04-20 15:30:52 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-04-20 15:30:57 (GMT) |
commit | 686df6e136c5a35ec886134e2c12b5e88aeeeca0 (patch) | |
tree | 2702c71b3b71ecc21b9fa7353bfcda4a31188100 /Source | |
parent | 1d5285887ce86fc10e0ca346d0255392dc1649e3 (diff) | |
parent | 072b318893a84d38a5e96a7f5a6432d474d7b5ab (diff) | |
download | CMake-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.cxx | 3 |
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)); |