mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Don't use native macOS Font Dialog (Fixes #630)
This commit is contained in:
parent
f92fb71b0e
commit
49632b2ee4
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user