summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-08-19 09:10:19 +0200
committerYoann Lopes <yoann.lopes@theqtcompany.com>2015-08-19 11:16:09 +0000
commitaad6e643529c45e59220e82f5f05c85f130d39d3 (patch)
tree3340e6b3eda5802704f12ce53072a8064c281d9e
parent9c9a2402208560dc96e16a351817fe031df21f6d (diff)
downloadqtmultimedia-aad6e643529c45e59220e82f5f05c85f130d39d3.tar.gz
qtmultimedia-aad6e643529c45e59220e82f5f05c85f130d39d3.tar.bz2
qtmultimedia-aad6e643529c45e59220e82f5f05c85f130d39d3.zip
Fix tr()-context of messages in QPlaylistFileParserPrivate.
Use QPlaylistFileParser instead of QObject. Change-Id: I83f6b0384fc60b356a8ae8b316d2aaa768e7ac4d Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
-rw-r--r--src/multimedia/playback/playlistfileparser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/multimedia/playback/playlistfileparser.cpp b/src/multimedia/playback/playlistfileparser.cpp
index edaf98c5..b720f065 100644
--- a/src/multimedia/playback/playlistfileparser.cpp
+++ b/src/multimedia/playback/playlistfileparser.cpp
@@ -290,7 +290,8 @@ void QPlaylistFileParserPrivate::processLine(int startIndex, int length)
switch (m_type) {
case QPlaylistFileParser::UNKNOWN:
- emit q->error(QPlaylistFileParser::FormatError, QString(QObject::tr("%1 playlist type is unknown")).arg(m_root.toString()));
+ emit q->error(QPlaylistFileParser::FormatError,
+ QPlaylistFileParser::tr("%1 playlist type is unknown").arg(m_root.toString()));
q->stop();
return;
case QPlaylistFileParser::M3U: