Fix build error on BlackBerry10

The variable type was changed to QStringRef but the
the conversion to QStringRef was left out.

Change-Id: I973b0eb5795fa7bcf89ceac809fb3ff607a85913
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
This commit is contained in:
Wolfgang Bremer
2014-01-16 12:45:01 +01:00
committed by The Qt Project
parent e485e066ac
commit 4b2c80c53b

View File

@@ -97,8 +97,8 @@ bool MmRendererMetaData::parse(const QString &contextName)
const int separatorPos = line.indexOf(separator); const int separatorPos = line.indexOf(separator);
if (separatorPos != -1) { if (separatorPos != -1) {
const QStringRef key = line.left(separatorPos); const QStringRef key = line.leftRef(separatorPos);
const QStringRef value = line.mid(separatorPos + separator.length()); const QStringRef value = line.midRef(separatorPos + separator.length());
if (key == durationKey) if (key == durationKey)
m_duration = value.toLongLong(); m_duration = value.toLongLong();