QmlVlc icon indicating copy to clipboard operation
QmlVlc copied to clipboard

skip warning

Open renatose opened this issue 8 years ago • 2 comments

as mode_last == mode_loop, Mode::Loop == vlc::mode_last this way the warning is skipped

renatose avatar Aug 31 '16 15:08 renatose

it was maid so just to avoid possible problems if order of items in playback_mode_e will be changed by some reason. So it's better fix this warning by reinterpret_cast<playback_mode_e>(mode)

RSATom avatar Aug 31 '16 15:08 RSATom

btw, it worth add there check for values below 0 too since enums by default are signed.

RSATom avatar Aug 31 '16 15:08 RSATom