summaryrefslogtreecommitdiffhomepage
path: root/gui/init.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-07 10:06:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:21 +0100
commit9cc9dfcce12cc39cc2dc916982d13f63e10311c7 (patch)
tree0c15dd67d31a972f916cbb3fe5ec373ef9bb9e6b /gui/init.cpp
parent77adaeabaf58ea79496803a83ce9fce582758b78 (diff)
gui/init: remove obsolete XInitThreads call
This became obsolete when Qt 5.0 switched to libxcb.
Diffstat (limited to 'gui/init.cpp')
-rw-r--r--gui/init.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gui/init.cpp b/gui/init.cpp
index ea46edd3..9cb32e2c 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -241,7 +241,6 @@ int otr_main(int argc, char** argv, std::function<QWidget*()> const& make_main_w
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
- QCoreApplication::setAttribute(Qt::AA_X11InitThreads);
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication app(argc, argv);