]> granicus.if.org Git - transmission/commit
Create QDBusConnection after QApplication has been initialized
authorMike Gelfand <mikedld@mikedld.com>
Mon, 1 Dec 2014 21:05:44 +0000 (21:05 +0000)
committerMike Gelfand <mikedld@mikedld.com>
Mon, 1 Dec 2014 21:05:44 +0000 (21:05 +0000)
commitb4a662ba37a791302ad0f281e51d3523f423beca
tree67f576fef7e98e6f50a42e328ad8ca780e3ccdf4
parent3e43a308af6b9d053abb0b8c62488062b3e62b6e
Create QDBusConnection after QApplication has been initialized

Doing otherwise causes Qt warning "QDBusConnection: session D-Bus
connection created before QCoreApplication. Application may misbehave."
Also, don't try to do anything D-Bus-related if connection fails.
qt/app.cc