ahmadsamir created this revision.
ahmadsamir added reviewers: Frameworks, dfaure, meven, bruns.
Herald added a project: Frameworks.
ahmadsamir requested review of this revision.

REVISION SUMMARY
  As was discussed in https://phabricator.kde.org/D29138 and on IRC (with
  frinring and vkrause), add a new enumerator to MediumType with value 0
  to indicate no-op. Change one for-loop to use the new enumerator with
  QMap::value(key, defaultValue).

TEST PLAN
  make && ctest

REPOSITORY
  R245 Solid

BRANCH
  l-mediumtypes (branched from master)

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

AFFECTED FILES
  src/solid/devices/backends/fakehw/fakecdrom.cpp
  src/solid/devices/frontend/opticaldrive.h

To: ahmadsamir, #frameworks, dfaure, meven, bruns
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns

Reply via email to