Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing with 6 additions and 3 deletions.
- +6 −3 src/gui/qgsguiutils.cpp