D29138: [Solid] Replace foreach (deprecated) with range/index for
Ahmad Samir
noreply at phabricator.kde.org
Fri Apr 24 15:27:37 BST 2020
ahmadsamir updated this revision to Diff 81098.
ahmadsamir marked an inline comment as done.
ahmadsamir added a comment.
More const
Optimise by iterating over QStringList, and constFind in QMap
REPOSITORY
R245 Solid
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D29138?vs=81040&id=81098
BRANCH
l-foreach (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D29138
AFFECTED FILES
src/imports/devices.cpp
src/solid/devices/backends/fakehw/fakecdrom.cpp
src/solid/devices/backends/fakehw/fakedevice.cpp
src/solid/devices/backends/fakehw/fakemanager.cpp
src/solid/devices/backends/fakehw/fakeopticaldisc.cpp
src/solid/devices/backends/fakehw/fakeprocessor.cpp
src/solid/devices/backends/fakehw/fakestorageaccess.cpp
src/solid/devices/backends/fstab/fstabdevice.cpp
src/solid/devices/backends/fstab/fstabmanager.cpp
To: ahmadsamir, #frameworks, dfaure, apol, meven
Cc: bruns, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200424/f1d5e35b/attachment.html>
More information about the Kde-frameworks-devel
mailing list