Commit 1010bd29 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Android: Fix compilation with Qt 4.



Change-Id: I8f5e310f14159238079f30dded0e5f0814d20990
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 8e059768
......@@ -875,7 +875,11 @@ int extractVersion(const QString &string)
int index = string.indexOf(QLatin1Char(':'));
if (index == -1)
return 0;
#if QT_VERSION < 0x050000
return string.mid(4, index - 4).toInt();
#else
return string.midRef(4, index - 4).toInt();
#endif
}
void AndroidManifestEditorWidget::syncToEditor()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment