From 49632b2ee40c7a2fdebe7c85ac7d255511286160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Mon, 20 Aug 2018 13:26:24 +0200 Subject: [PATCH] Don't use native macOS Font Dialog (Fixes #630) --- src/dialogs/preferences/GeneralOptionsWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/preferences/GeneralOptionsWidget.cpp b/src/dialogs/preferences/GeneralOptionsWidget.cpp index 46a815bd..ae331d11 100644 --- a/src/dialogs/preferences/GeneralOptionsWidget.cpp +++ b/src/dialogs/preferences/GeneralOptionsWidget.cpp @@ -63,7 +63,7 @@ void GeneralOptionsWidget::on_fontSelectionButton_clicked() { QFont currentFont = Config()->getFont(); bool ok; - QFont newFont = QFontDialog::getFont(&ok, currentFont, this); + QFont newFont = QFontDialog::getFont(&ok, currentFont, this, QString(), QFontDialog::DontUseNativeDialog); if (ok) { Config()->setFont(newFont); }