Some Qt6 porting

- new ambiguous overloads for mapToGlobal
- some functions now return qsizetype instead of int

Task-number: QTCREATORBUG-24098
Change-Id: I0020e5689e093653e9e0e6f0d6263720bc2e003b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-07-21 15:47:35 +02:00
parent affd4ee658
commit 2d78bd4b19
13 changed files with 17 additions and 15 deletions

View File

@@ -93,7 +93,7 @@ private:
const QStringList elements = line.split(QLatin1Char('\n'));
if (elements.count() < 4) {
qDebug("%s: Expected four list elements, got %d. Line was '%s'.", Q_FUNC_INFO,
elements.count(), qPrintable(visualizeNull(line)));
int(elements.count()), qPrintable(visualizeNull(line)));
continue;
}
bool ok;