Review Request 126403: Get rid of QApplication dependency

David Faure faure at kde.org
Sun Jan 10 09:55:29 UTC 2016


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



src/platforms/xcb/kwindowsystem.cpp (line 60)
<https://git.reviewboard.kde.org/r/126403/#comment62070>

    How does this work? I see code iterating through that list, but I don't see code adding to the list in the first place. Dead code? Unfinished code?



src/platforms/xcb/kwindowsystem.cpp (line 68)
<https://git.reviewboard.kde.org/r/126403/#comment62069>

    This reads weird, (casting from GuiApp to GuiApp), but in fact it's because there's no QGuiApplication::instance, it's QCoreApplication::instance, I would suggest to use that to make this more readable.
    
    qApp should work too. It expands to exactly that, when #including QGuiApplication.


The commit log also needs to be updated, assuming it's still equal to the description that is visible in ReviewBoard.

- David Faure


On Jan. 6, 2016, 5:34 p.m., Thomas Lübking wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126403/
> -----------------------------------------------------------
> 
> (Updated Jan. 6, 2016, 5:34 p.m.)
> 
> 
> Review request for KDE Frameworks, kwin and Albert Astals Cid.
> 
> 
> Bugs: 354811
>     https://bugs.kde.org/show_bug.cgi?id=354811
> 
> 
> Repository: kwindowsystem
> 
> 
> Description
> -------
> 
> summarized, alternative to https://git.reviewboard.kde.org/r/126397/
> 
> NOTICE: this compiles but is otherwise *completely* untested!
> 
> 
> Diffs
> -----
> 
>   src/platforms/xcb/kwindowsystem.cpp 9d28704 
> 
> Diff: https://git.reviewboard.kde.org/r/126403/diff/
> 
> 
> Testing
> -------
> 
> Albert performed a successful test on the bug.
> 
> 
> Thanks,
> 
> Thomas Lübking
> 
>

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


More information about the Kde-frameworks-devel mailing list