Review Request: Avoid QDBusConnection Qt warning message for each KUniqueApplication
Martin Koller
kollix at aon.at
Sun Jan 15 17:28:03 GMT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103699/
-----------------------------------------------------------
(Updated Jan. 15, 2012, 5:28 p.m.)
Review request for kdelibs.
Changes
-------
Don't create QCoreApplication but an own session bus QDBusConnection object.
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 (updated)
-----
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/20120115/307cb049/attachment.htm>
More information about the kde-core-devel
mailing list