Review Request 125915: Drop runtime dependency on QApplication

David Edmundson david at davidedmundson.co.uk
Sun Nov 1 22:34:54 UTC 2015


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

Review request for KDE Frameworks.


Repository: kwindowsystem


Description
-------

QDesktopWidget was used which is broken for applications using
QGuiApplication.

QDesktopWidget is now just a thin wrapper over QScreen so we can use that directly.

QApplication::activeWindow is ported to QGuiApplication::topLevelWindows
and then itterating to see if one is active.


Diffs
-----

  src/platforms/xcb/kwindowsystem.cpp 9d287043c24894ca3c29c439c7939b139da055e8 

Diff: https://git.reviewboard.kde.org/r/125915/diff/


Testing
-------


Thanks,

David Edmundson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151101/37334527/attachment.html>


More information about the Kde-frameworks-devel mailing list