Fix lupdate warning in playlistparser.
playlistfileparser.cpp:278: Class 'PLSParser' lacks Q_OBJECT macro. Change-Id: I062bd90b7cd5de82683dc02c6a6400855982a163 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
bd30595975
commit
329d9d4563
@@ -176,6 +176,7 @@ private:
|
||||
|
||||
class PLSParser : public ParserBase
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
PLSParser(QObject *parent)
|
||||
: ParserBase(parent)
|
||||
@@ -275,7 +276,7 @@ Version=2
|
||||
int entries = getValue(lineIndex, line).toInt();
|
||||
int count = m_readFlags == 0 ? (m_count - 1) : m_count;
|
||||
if (entries != count) {
|
||||
emit error(QPlaylistFileParser::FormatError, QString(tr("Error parsing playlist: %1, expected count = %2")).
|
||||
emit error(QPlaylistFileParser::FormatError, tr("Error parsing playlist: %1, expected count = %2").
|
||||
arg(line, QString::number(count)));
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user