summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdwin Mons <edwin.mons@isode.com>2016-02-05 15:37:04 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-02-15 11:42:11 (GMT)
commit3f6006ce6e97dacf2100fdb8aacb827316353869 (patch)
treef5c02513cf919edc1e0513816ac57a9d10d6059f /Swiften/FileTransfer/FileReadBytestream.cpp
parentc3ca881c2f08930c0fd280bc2f41af89986770a8 (diff)
downloadswift-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/FileTransfer/FileReadBytestream.cpp')
0 files changed, 0 insertions, 0 deletions