Don't use native macOS Font Dialog (Fixes #630)

This commit is contained in:
Florian Märkl 2018-08-20 13:26:24 +02:00
parent f92fb71b0e
commit 49632b2ee4

View File

@ -63,7 +63,7 @@ void GeneralOptionsWidget::on_fontSelectionButton_clicked()
{ {
QFont currentFont = Config()->getFont(); QFont currentFont = Config()->getFont();
bool ok; bool ok;
QFont newFont = QFontDialog::getFont(&ok, currentFont, this); QFont newFont = QFontDialog::getFont(&ok, currentFont, this, QString(), QFontDialog::DontUseNativeDialog);
if (ok) { if (ok) {
Config()->setFont(newFont); Config()->setFont(newFont);
} }