diff options
author | Edwin Mons <edwin.mons@isode.com> | 2016-02-05 15:37:04 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2016-02-15 11:42:11 (GMT) |
commit | 3f6006ce6e97dacf2100fdb8aacb827316353869 (patch) | |
tree | f5c02513cf919edc1e0513816ac57a9d10d6059f /Swiften/Elements/JingleIBBTransportPayload.h | |
parent | c3ca881c2f08930c0fd280bc2f41af89986770a8 (diff) | |
download | swift-3f6006ce6e97dacf2100fdb8aacb827316353869.zip swift-3f6006ce6e97dacf2100fdb8aacb827316353869.tar.bz2 |
Move QApplication instantiation in QtUI/main.cpp down
If there is no X11 display set, bits in libqxcb as used by the plaform
integration bits called by QApplication will trigger an abort. Moving
this down to just before where the app object is needed allows --help or
--version even if there's no DISPLAY, and also improves runtime of these
GUI-less operations quite a bit.
Test-Information:
Test platform Debian 8 x64 with Qt5
Starting swift-im with DISPLAY set works as expected
Asking for --version or --help without DISPLAY now works
Actually starting the UI still aborts.
Change-Id: Id8eeee90598fe2a8e3b26ba042835a0ea928932f
Diffstat (limited to 'Swiften/Elements/JingleIBBTransportPayload.h')
0 files changed, 0 insertions, 0 deletions