diff options
-rw-r--r-- | src/dialogs/plugin.cpp | 8 | ||||
-rw-r--r-- | tests/auto/testplugin/testcppmodels.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/dialogs/plugin.cpp b/src/dialogs/plugin.cpp index 9470c2080..2f34c87fe 100644 --- a/src/dialogs/plugin.cpp +++ b/src/dialogs/plugin.cpp @@ -177,8 +177,8 @@ protected: if (!registerWidgetImplementation<WrapperType>( widgetsDir, qmlDir, qmlName, uri, hasTopLevelWindows, versionMajor, versionMinor)) #else - Q_UNUSED(widgetsDir) - Q_UNUSED(hasTopLevelWindows) + Q_UNUSED(widgetsDir); + Q_UNUSED(hasTopLevelWindows); #endif registerQmlImplementation<WrapperType>(qmlDir, qmlName, uri, versionMajor, versionMinor); } @@ -187,7 +187,7 @@ protected: bool registerWidgetImplementation(const QDir &widgetsDir, const QDir &qmlDir, const char *qmlName, const char *uri, bool hasTopLevelWindows, int versionMajor, int versionMinor) { - Q_UNUSED(qmlDir) + Q_UNUSED(qmlDir); bool mobileTouchPlatform = false; #if defined(Q_OS_IOS) mobileTouchPlatform = true; @@ -217,7 +217,7 @@ protected: template <class WrapperType> void registerQmlImplementation(const QDir &qmlDir, const char *qmlName, const char *uri , int versionMajor, int versionMinor) { - Q_UNUSED(qmlDir) + Q_UNUSED(qmlDir); qCDebug(lcRegistration) << "Register QML version for" << qmlName << "with uri:" << uri; QByteArray abstractTypeName = QByteArray("Abstract") + qmlName; diff --git a/tests/auto/testplugin/testcppmodels.h b/tests/auto/testplugin/testcppmodels.h index 03b598c47..44de1ca30 100644 --- a/tests/auto/testplugin/testcppmodels.h +++ b/tests/auto/testplugin/testcppmodels.h @@ -114,13 +114,13 @@ public: virtual bool canFetchMore(const QModelIndex &parent) const { - Q_UNUSED(parent) + Q_UNUSED(parent); return true; } virtual void fetchMore(const QModelIndex & parent) { - Q_UNUSED(parent) + Q_UNUSED(parent); addMoreData(); } |