Please sign in to comment.
workaround broken QFontDialog on macOS with Qt5 (Fixes #20426)
QFontDialog using the native dialog is broken in some versions of Qt5 on macOS, see - https://bugreports.qt.io/browse/QTBUG-69878 - https://successfulsoftware.net/2018/11/02/qt-is-broken-on-macos-right-now/ this breaks QgsFontButton in ModeQFont. When opening the dialog it will not change the format after accepting. normally our code wouldn't use the native dialog on macOS anyway, but due to using an outdated preprocessor check it was exhibiting the broken behavior. this patch restores the usage of a non-native font dialog on macOS. discussions: - https://issues.qgis.org/issues/20426 - #8585
- Loading branch information