Review Request: Avoid QDBusConnection Qt warning message for each KUniqueApplication

Martin Koller kollix at
Sun Jan 15 17:28:03 GMT 2012

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 15, 2012, 5:28 p.m.)

Review request for kdelibs.


Don't create QCoreApplication but an own session bus QDBusConnection object.


All KUniqueApplications issue the warning
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
when runngin with Qt-4.8.0 (qWarning in QDBusDefaultConnection ctor)

The patch avoids this by temporarily creating a QCoreApplication instance

Diffs (updated)

  kdeui/kernel/kuniqueapplication.cpp 777fc35 



running kdepasswd


Martin Koller

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list