Review Request 126403: Get rid of QApplication dependency

David Faure faure at kde.org
Fri Jan 1 19:47:34 UTC 2016


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



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

    move into the if() to save some work if isDirty==false?



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

    isn't that "return displayGeometry()?"
    
    If not, then at least something like QRect(QPoint(0,0), displayGeometry().size()) (encapsulated in a convenience function) would avoid calling displayGeometry() twice.


- David Faure


On Dec. 17, 2015, 3:38 p.m., Thomas Lübking wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126403/
> -----------------------------------------------------------
> 
> (Updated Dec. 17, 2015, 3:38 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
> -------
> 
> no, not the least. esp. not on the bug.
> 
> 
> Thanks,
> 
> Thomas Lübking
> 
>

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


More information about the Kde-frameworks-devel mailing list