summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@digia.com>2014-05-09 15:31:33 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-09 19:48:53 +0200
commit364258abfcc438f79908e8c47fd0fd68cfecee36 (patch)
tree379c863d943376f347a7ff54c80a50c43195a62b
parent101dce7a2958c9b4cee2caa5b61e9c9ca86affcf (diff)
downloadqtmultimedia-364258abfcc438f79908e8c47fd0fd68cfecee36.tar.gz
PLS parser: Don't translate entries.
Each entry in a PLS file uses the keywords 'File', 'Title' and 'Length' in English, it should not be translated to the user's locale... Task-number: QTBUG-38755 Change-Id: Ibd5bee18a856b3ebc1fdb177241db7a39b65d264 Reviewed-by: Christian Stromme <christian.stromme@digia.com>
-rw-r--r--src/multimedia/playback/playlistfileparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/multimedia/playback/playlistfileparser.cpp b/src/multimedia/playback/playlistfileparser.cpp
index ae14d2159..1254d6131 100644
--- a/src/multimedia/playback/playlistfileparser.cpp
+++ b/src/multimedia/playback/playlistfileparser.cpp
@@ -307,9 +307,9 @@ Version=2
void setCount(int count) {
m_count = count;
- m_fileName = QString(tr("File%1")).arg(count);
- m_titleName = QString(tr("Title%1")).arg(count);
- m_lengthName = QString(tr("Length%1")).arg(count);
+ m_fileName = QStringLiteral("File%1").arg(count);
+ m_titleName = QStringLiteral("Title%1").arg(count);
+ m_lengthName = QStringLiteral("Length%1").arg(count);
m_item.clear();
m_readFlags = 0;
}