summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@qt.io>2016-08-31 18:02:08 +0200
committerYoann Lopes <yoann.lopes@qt.io>2016-09-28 11:30:05 +0000
commit5472ea150693d7eadf21f0e7db8354896eaca2d6 (patch)
tree001d0f6fd1ae62397d54d4d94646f4335df4687c
parent2f3cf6bca788c6a08357a9d672deb4119877a1fd (diff)
downloadqtmultimedia-5472ea150693d7eadf21f0e7db8354896eaca2d6.tar.gz
Remove useless cast
Casting to same type. Change-Id: I93935b75edac56c958d0669eff216b9dcf16a153 Reviewed-by: Yoann Lopes <yoann.lopes@qt.io>
-rw-r--r--src/multimedia/playback/qmedianetworkplaylistprovider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/playback/qmedianetworkplaylistprovider.cpp b/src/multimedia/playback/qmedianetworkplaylistprovider.cpp
index 88c253494..76cee7616 100644
--- a/src/multimedia/playback/qmedianetworkplaylistprovider.cpp
+++ b/src/multimedia/playback/qmedianetworkplaylistprovider.cpp
@@ -68,7 +68,7 @@ void QMediaNetworkPlaylistProviderPrivate::_q_handleParserError(QPlaylistFilePar
QMediaPlaylist::Error playlistError = QMediaPlaylist::NoError;
- switch ((QPlaylistFileParser::ParserError)err) {
+ switch (err) {
case QPlaylistFileParser::NoError:
return;
case QPlaylistFileParser::FormatError: