Android: Fix compilation with Qt 4.

Change-Id: I8f5e310f14159238079f30dded0e5f0814d20990
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Friedemann Kleint
2013-10-10 15:17:39 +02:00
parent 8e0597687c
commit 1010bd2924

View File

@@ -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()