QmlDesigner: Fix warnings

Change-Id: I2b9c2d024b1c09c157e448f590e2748337cbeb89
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2023-06-27 14:57:12 +02:00
committed by Tim Jenssen
parent d7ee848efd
commit 90cfc2f7e8
3 changed files with 3 additions and 3 deletions

View File

@@ -248,7 +248,7 @@ void Qt5NodeInstanceServer::savePipelineCacheData()
#endif
}
void Qt5NodeInstanceServer::setPipelineCacheConfig(QQuickWindow *w)
void Qt5NodeInstanceServer::setPipelineCacheConfig([[maybe_unused]] QQuickWindow *w)
{
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 1)
// This dummy file is not actually used for cache as we manage cache save/load ourselves,

View File

@@ -164,7 +164,7 @@ void ProjectStorageMock::setupQtQtuick()
auto qtQuickModuleId = createModule("QtQuick");
auto qtQuickNativeModuleId = createModule("QtQuick-cppnative");
auto intId = createType(qmlModuleId, "int", Storage::TypeTraits::Value);
createType(qmlModuleId, "int", Storage::TypeTraits::Value);
auto qtObjectId = createObject(qmlModuleId,
"QtObject",

View File

@@ -12,7 +12,7 @@
#include <include/modelnode.h>
#include <include/nodeabstractproperty.h>
#include <include/nodelistproperty.h>
#include <include/nodemetaInfo.h>
#include <include/nodemetainfo.h>
#include <include/nodeproperty.h>
#include <include/signalhandlerproperty.h>
#include <include/variantproperty.h>