Commit 2224eb70 authored by dt_'s avatar dt_
Browse files

Run cmake dialog: More intelligent hardcoded font

Platform specific now.
parent 1225b4cc
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include <utils/pathchooser.h> #include <utils/pathchooser.h>
#include <projectexplorer/toolchainmanager.h> #include <projectexplorer/toolchainmanager.h>
#include <texteditor/fontsettings.h>
#include <QtGui/QVBoxLayout> #include <QtGui/QVBoxLayout>
#include <QtGui/QFormLayout> #include <QtGui/QFormLayout>
...@@ -330,7 +331,7 @@ void CMakeRunPage::initWidgets() ...@@ -330,7 +331,7 @@ void CMakeRunPage::initWidgets()
// Bottom output window // Bottom output window
m_output = new QPlainTextEdit(this); m_output = new QPlainTextEdit(this);
m_output->setReadOnly(true); m_output->setReadOnly(true);
QFont f("Courier"); QFont f(TextEditor::FontSettings::defaultFixedFontFamily());
f.setStyleHint(QFont::TypeWriter); f.setStyleHint(QFont::TypeWriter);
m_output->setFont(f); m_output->setFont(f);
QSizePolicy pl = m_output->sizePolicy(); QSizePolicy pl = m_output->sizePolicy();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment