D6724: Replace Q_FOREACH with C++11 range-for

Jean Vincent noreply at phabricator.kde.org
Sat Jul 15 19:22:55 UTC 2017


jeanv updated this revision to Diff 16756.
jeanv added a comment.


  Remove the remaining Q_FOREACH in daemon.cpp in deviceIdByName and rename the variable `d` to `device` to avoid confusion.

REPOSITORY
  R224 KDE Connect

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D6724?vs=16747&id=16756

REVISION DETAIL
  https://phabricator.kde.org/D6724

AFFECTED FILES
  cli/kdeconnect-cli.cpp
  core/backends/bluetooth/bluetoothlinkprovider.cpp
  core/daemon.cpp
  core/device.cpp
  core/pluginloader.cpp
  fileitemactionplugin/sendfileitemaction.cpp
  interfaces/devicesmodel.cpp
  interfaces/notificationsmodel.cpp
  kio/kiokdeconnect.cpp
  plasmoid/declarativeplugin/responsewaiter.cpp
  plugins/mpriscontrol/mpriscontrolplugin.cpp
  plugins/notifications/notificationsdbusinterface.cpp
  plugins/pausemusic/pausemusicplugin.cpp
  plugins/runcommand/runcommand_config.cpp
  plugins/sendnotifications/notificationslistener.cpp
  tests/pluginloadtest.cpp
  tests/sendfiletest.cpp
  tests/testnotificationlistener.cpp
  tests/testsocketlinereader.cpp
  tests/testsslsocketlinereader.cpp

To: jeanv, #kde_connect, nicolasfella
Cc: nicolasfella, tfella, aboudhar, seebauer, progwolff, MayeulC, menasshock, ach, apol, hkaelberer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20170715/65cd88bc/attachment-0001.html>


More information about the KDEConnect mailing list