diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-25 14:41:42 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-25 14:43:45 +0100 |
commit | 4e62e90beec75f069c5802910111cbf3462e9bd8 (patch) | |
tree | f79ffa7fea0e86c114b04c9ec262b5d719d8d73d /gui | |
parent | b34b8d4e6aca90632049aa34a1b2f77de62b2c74 (diff) |
gui/init: add more Qt switches
Diffstat (limited to 'gui')
-rw-r--r-- | gui/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/init.cpp b/gui/init.cpp index 4c3766da..b70f6df6 100644 --- a/gui/init.cpp +++ b/gui/init.cpp @@ -204,6 +204,8 @@ int otr_main(int argc, char** argv, std::function<QWidget*()> const& make_main_w QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif QCoreApplication::setAttribute(Qt::AA_X11InitThreads); + QCoreApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton); + QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); QApplication app(argc, argv); |