[Differential] [Request, 4 lines] D4693: Fix detaching
Elvis Angelaccio
noreply at phabricator.kde.org
Mon Feb 20 21:16:07 UTC 2017
elvisangelaccio created this revision.
Restricted Application added subscribers: Ark, kde-utils-devel.
Restricted Application added a project: Ark.
REVISION SUMMARY
Calling last() on a temporary QList causes a detach. We can fix it by
using constLast() instead, which has been introduced in Qt 5.6
TEST PLAN
builds.
REPOSITORY
R36 Ark
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D4693
AFFECTED FILES
CMakeLists.txt
part/part.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: elvisangelaccio, rthomsen
Cc: kde-utils-devel, #ark, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20170220/9bde891c/attachment.html>
More information about the Kde-utils-devel
mailing list