[FakeCdrom] Add a new UnknownMediumType enumerator to MediumType
ClosedPublic

Authored by ahmadsamir on Apr 27 2020, 9:34 AM.

Details

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

Diff Detail

Repository
R245 Solid
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ahmadsamir created this revision.Apr 27 2020, 9:34 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptApr 27 2020, 9:34 AM
ahmadsamir requested review of this revision.Apr 27 2020, 9:34 AM
dfaure accepted this revision.Apr 27 2020, 7:30 PM
This revision is now accepted and ready to land.Apr 27 2020, 7:30 PM
This revision was automatically updated to reflect the committed changes.