Review Request 126737: Fix most Clazy warnings in KItemViews.
Aleix Pol Gonzalez
aleixpol at kde.org
Thu Jan 14 12:35:05 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126737/#review91067
-----------------------------------------------------------
Looks good, I'll add Sergio, he maybe can explain what the warning meant in the first place.
Andrey, Are you sure you fixed all the warnings? I found some missing, for example:
`/home/kde-devel/frameworks/kitemviews/src/kwidgetitemdelegatepool.cpp:48:1: warning: KWidgetItemDelegateEventListener is missing a Q_OBJECT macro [-Wclazy-missing-qobject]`
- Aleix Pol Gonzalez
On Jan. 14, 2016, 10:49 a.m., Andrey Cygankov wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126737/
> -----------------------------------------------------------
>
> (Updated Jan. 14, 2016, 10:49 a.m.)
>
>
> Review request for KDE Frameworks and Aleix Pol Gonzalez.
>
>
> Repository: kitemviews
>
>
> Description
> -------
>
> Fix Clazy warnings, except:
> /src/kwidgetitemdelegatepool.cpp:153:5: warning: Calling qDeleteAll with QHash::keys, call qDeleteAll on the container itself [-Wclazy-qdeleteall]
> qDeleteAll(d->widgetInIndex.keys());
>
>
> Diffs
> -----
>
> autotests/klistwidgetsearchlinetest.cpp b86d62c
> src/kcategorizedview.cpp 185c24c
> src/ktreewidgetsearchline.cpp b721c58
> tests/kcategorizedviewtest.cpp 16dac9a
> tests/ktreewidgetsearchlinetest.cpp adaf246
> tests/kwidgetitemdelegatetest.cpp d4bba7a
>
> Diff: https://git.reviewboard.kde.org/r/126737/diff/
>
>
> Testing
> -------
>
> Build without errors.
> Tests passed.
>
>
> Thanks,
>
> Andrey Cygankov
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160114/c86cb727/attachment.html>
More information about the Kde-frameworks-devel
mailing list