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:
committed by
The Qt Project
parent
e485e066ac
commit
4b2c80c53b
@@ -97,8 +97,8 @@ bool MmRendererMetaData::parse(const QString &contextName)
|
||||
|
||||
const int separatorPos = line.indexOf(separator);
|
||||
if (separatorPos != -1) {
|
||||
const QStringRef key = line.left(separatorPos);
|
||||
const QStringRef value = line.mid(separatorPos + separator.length());
|
||||
const QStringRef key = line.leftRef(separatorPos);
|
||||
const QStringRef value = line.midRef(separatorPos + separator.length());
|
||||
|
||||
if (key == durationKey)
|
||||
m_duration = value.toLongLong();
|
||||
|
||||
Reference in New Issue
Block a user