mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-29 07:23:51 +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
|
#if QT_VERSION > 0x040600
|
||||||
setAttribute(Qt::AA_MacDontSwapCtrlAndMeta,lyxrc.mac_dontswap_ctrl_meta);
|
setAttribute(Qt::AA_MacDontSwapCtrlAndMeta,lyxrc.mac_dontswap_ctrl_meta);
|
||||||
#endif
|
#endif
|
||||||
#if QT_VERSION > 0x050100
|
#if QT_VERSION >= 0x050000 && QT_VERSION < 0x060000
|
||||||
setAttribute(Qt::AA_UseHighDpiPixmaps,true);
|
setAttribute(Qt::AA_UseHighDpiPixmaps,true);
|
||||||
#endif
|
#endif
|
||||||
// Create the global default menubar which is shown for the dialogs
|
// Create the global default menubar which is shown for the dialogs
|
||||||
|
Loading…
Reference in New Issue
Block a user