forked from qt-creator/qt-creator
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:
@@ -99,7 +99,7 @@ Core::GeneratedFiles JsonWizardScannerGenerator::fileList(Utils::MacroExpander *
|
||||
|
||||
result = scan(project.absolutePath(), project);
|
||||
|
||||
static const auto getDepth = [](const QString &filePath) { return filePath.count('/'); };
|
||||
static const auto getDepth = [](const QString &filePath) { return int(filePath.count('/')); };
|
||||
int minDepth = std::numeric_limits<int>::max();
|
||||
for (auto it = result.begin(); it != result.end(); ++it) {
|
||||
const QString relPath = project.relativeFilePath(it->path());
|
||||
|
||||
Reference in New Issue
Block a user