forked from qt-creator/qt-creator
QmlDesigner: Fix unused warnings
Change-Id: I7791f6c6c9553a5a746b62b37e8846c5f479987d Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -36,7 +36,6 @@ QString createVersion(const QMultiHash<QString, QQmlDirParser::Component> &compo
|
|||||||
|
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
constexpr auto coreModules = std::make_tuple(QStringView{u"QtQuick"},
|
constexpr auto coreModules = std::make_tuple(QStringView{u"QtQuick"},
|
||||||
QStringView{u"QtQuick.Controls"},
|
QStringView{u"QtQuick.Controls"},
|
||||||
@@ -58,6 +57,7 @@ QString createCoreVersion(QStringView moduleName, ExternalDependenciesInterface
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
void ModuleScanner::scan(const QStringList &modulePaths)
|
void ModuleScanner::scan(const QStringList &modulePaths)
|
||||||
|
@@ -21,7 +21,7 @@ public:
|
|||||||
|
|
||||||
ModuleScanner([[maybe_unused]] SkipFunction skip,
|
ModuleScanner([[maybe_unused]] SkipFunction skip,
|
||||||
[[maybe_unused]] VersionScanning versionScanning,
|
[[maybe_unused]] VersionScanning versionScanning,
|
||||||
ExternalDependenciesInterface &externalDependencies)
|
[[maybe_unused]] ExternalDependenciesInterface &externalDependencies)
|
||||||
#ifdef QDS_HAS_QMLPRIVATE
|
#ifdef QDS_HAS_QMLPRIVATE
|
||||||
: m_skip{std::move(skip)}
|
: m_skip{std::move(skip)}
|
||||||
, m_versionScanning{versionScanning}
|
, m_versionScanning{versionScanning}
|
||||||
|
Reference in New Issue
Block a user