summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-25 14:41:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-12-25 14:43:45 +0100
commit4e62e90beec75f069c5802910111cbf3462e9bd8 (patch)
treef79ffa7fea0e86c114b04c9ec262b5d719d8d73d /gui
parentb34b8d4e6aca90632049aa34a1b2f77de62b2c74 (diff)
gui/init: add more Qt switches
Diffstat (limited to 'gui')
-rw-r--r--gui/init.cpp2
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);