Use Monospace directly as fixed font

Somehow using QFontDatabase's system font does not work
right here.
parent 195edef9
......@@ -66,7 +66,7 @@ void ExportWidget::Private::setupUi()
textEdit = new QTextEdit;
textEdit->setVisible(false);
textEdit->setReadOnly(true);
textEdit->setFont(QFontDatabase::systemFont(QFontDatabase::FixedFont));
textEdit->setFont(QFont("Monospace") /* QFontDatabase::systemFont(QFontDatabase::FixedFont) */);
textEdit->setReadOnly(true);
vlay->addWidget(textEdit);
......
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