mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Qt6 pixmaps are always HiDPI - avoid deprecate warning for setAttribute
This commit is contained in:
parent
53ed3dc062
commit
ae56fb6171
@ -2788,7 +2788,7 @@ void GuiApplication::execBatchCommands()
|
||||
#if QT_VERSION > 0x040600
|
||||
setAttribute(Qt::AA_MacDontSwapCtrlAndMeta,lyxrc.mac_dontswap_ctrl_meta);
|
||||
#endif
|
||||
#if QT_VERSION > 0x050100
|
||||
#if QT_VERSION >= 0x050000 && QT_VERSION < 0x060000
|
||||
setAttribute(Qt::AA_UseHighDpiPixmaps,true);
|
||||
#endif
|
||||
// Create the global default menubar which is shown for the dialogs
|
||||
|
Loading…
Reference in New Issue
Block a user