summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidmanifesteditorwidget.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2020-09-18 13:15:18 +0200
committerEike Ziller <eike.ziller@qt.io>2020-09-21 11:31:54 +0000
commit3f42c989eefc61a232716779271ecac82e64521c (patch)
tree40503cda733a7fbab33617be0d699044aeb49e2c /src/plugins/android/androidmanifesteditorwidget.cpp
parentdc1439deddaf1b5dbd5707c088fff5e0e62db966 (diff)
downloadqt-creator-3f42c989eefc61a232716779271ecac82e64521c.tar.gz
Fix Qt 6 build of ProjectExplorer and targets & build systems
QStringRef is gone. qsizetype vs int. QMultiHash::insertMulti is gone. QXmlStreamWriter writes UTF-8 by default. Task-number: QTCREATORBUG-24098 Change-Id: Id217e40a1f17993a84fc725976e9cb84618b0580 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/android/androidmanifesteditorwidget.cpp')
-rw-r--r--src/plugins/android/androidmanifesteditorwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/android/androidmanifesteditorwidget.cpp b/src/plugins/android/androidmanifesteditorwidget.cpp
index 8e7cf0c6bf..7902e3750d 100644
--- a/src/plugins/android/androidmanifesteditorwidget.cpp
+++ b/src/plugins/android/androidmanifesteditorwidget.cpp
@@ -959,7 +959,7 @@ int extractVersion(const QString &string)
int index = string.indexOf(QLatin1Char(':'));
if (index == -1)
return 0;
- return string.midRef(4, index - 4).toInt();
+ return string.mid(4, index - 4).toInt();
}
void AndroidManifestEditorWidget::syncToEditor()