Review Request 121747: Fix broken unittest for QFileDialog::setViewMode.

David Faure faure at kde.org
Wed Dec 31 08:52:30 UTC 2014



> On Dec. 30, 2014, 12:11 a.m., Mark Gaiser wrote:
> > autotests/kfiledialog_unittest.cpp, line 145
> > <https://git.reviewboard.kde.org/r/121747/diff/1/?file=337144#file337144line145>
> >
> >     One more sace.

where? (anyway I ran astyle-kdelibs now, so coding style should be good)


On Dec. 30, 2014, 12:11 a.m., David Faure wrote:
> > Looks like i owe you a big sorry. Much (or all?) of those coding style issues seem to introduced by... me...
> > Anyhow, looks OK to me.

Yep. Bad boy ;)


- David


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


On Dec. 29, 2014, 10:38 p.m., David Faure wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121747/
> -----------------------------------------------------------
> 
> (Updated Dec. 29, 2014, 10:38 p.m.)
> 
> 
> Review request for KDE Frameworks, Lukáš Tinkl, Mark Gaiser, and Martin Klapetek.
> 
> 
> Repository: frameworkintegration
> 
> 
> Description
> -------
> 
> Commit 0b8ab82e7fa9ea0948a841ebf8523b62da made the view mode a choice of
> the user (as it always was in KDE code) rather than a choice of the
> developer (as QFileDialog::setViewMode allows).
> 
> Typical Qt/KDE difference: Qt empowers the developer, KDE empowers the user.
> I agree with Lukas that the latter makes more sense in KDE code.
> 
> => I rewrote the unittest to check that the user's changes are restored
> on the next file dialog.
> 
> 
> Diffs
> -----
> 
>   autotests/kfiledialog_unittest.cpp e5108ead5a381864cfa2b8ddf62b5d6c64b13db9 
> 
> Diff: https://git.reviewboard.kde.org/r/121747/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> David Faure
> 
>

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


More information about the Kde-frameworks-devel mailing list