D8367: Hidding place groups implementation in KFilePlacesModel
Kevin Ottens
noreply at phabricator.kde.org
Fri Nov 24 11:17:08 UTC 2017
ervin requested changes to this revision.
ervin added a comment.
This revision now requires changes to proceed.
A small nitpick otherwise lgtm.
INLINE COMMENTS
> kfileplacesmodel.cpp:870
>
> - bookmark.setMetaDataItem(QStringLiteral("IsHidden"), (hidden ? QStringLiteral("true") : QStringLiteral("false")));
> + const bool isGpHidden = isGroupHidden(item->groupType());
> + const bool hidingChildOnShownParent = hidden && !isGpHidden;
Why not naming the variable isGroupHidden and use the :: prefix on the function call like milian proposed?
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D8367
To: franckarrecot, renatoo, ngraham, ervin, mwolff, mlaurent
Cc: mwolff, ngraham, mlaurent, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171124/f4c991b1/attachment.html>
More information about the Kde-frameworks-devel
mailing list