Review Request: Avoid QDBusConnection Qt warning message for each KUniqueApplication

Martin Koller kollix at aon.at
Sat Jan 14 18:38:02 GMT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103699/
-----------------------------------------------------------

Review request for kdelibs.


Description
-------

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
-----

  kdeui/kernel/kuniqueapplication.cpp 777fc35 

Diff: http://git.reviewboard.kde.org/r/103699/diff/diff


Testing
-------

running kdepasswd


Thanks,

Martin Koller

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120114/7d7dd28b/attachment.htm>


More information about the kde-core-devel mailing list