forked from qt-creator/qt-creator
QmlDesigner: fix warning
Change-Id: I94d99489ff8f5b33df415bdb51fe8171405e744e Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -110,7 +110,7 @@ void MetaInfoPrivate::parseItemLibraryDescriptions(const ExternalDependenciesInt
|
|||||||
Internal::MetaInfoReader reader(*m_q);
|
Internal::MetaInfoReader reader(*m_q);
|
||||||
try {
|
try {
|
||||||
reader.readMetaInfoFile(plugin->metaInfo());
|
reader.readMetaInfoFile(plugin->metaInfo());
|
||||||
} catch (const InvalidMetaInfoException &e) {
|
} catch ([[maybe_unused]] const InvalidMetaInfoException &e) {
|
||||||
#ifndef UNIT_TESTS
|
#ifndef UNIT_TESTS
|
||||||
qWarning() << e.description();
|
qWarning() << e.description();
|
||||||
const QString errorMessage = plugin->metaInfo() + QLatin1Char('\n') + QLatin1Char('\n')
|
const QString errorMessage = plugin->metaInfo() + QLatin1Char('\n') + QLatin1Char('\n')
|
||||||
|
Reference in New Issue
Block a user