diff options
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/extensionsystem/patchedpluginloader.cpp | 6 | ||||
-rw-r--r-- | src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp | 2 | ||||
-rw-r--r-- | src/libs/qtconcurrent/multitask.h | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/extensionsystem/patchedpluginloader.cpp b/src/libs/extensionsystem/patchedpluginloader.cpp index 3d8e904dd5..7898c91d73 100644 --- a/src/libs/extensionsystem/patchedpluginloader.cpp +++ b/src/libs/extensionsystem/patchedpluginloader.cpp @@ -422,7 +422,7 @@ PatchedLibraryPrivate::~PatchedLibraryPrivate() if (map) { PatchedLibraryPrivate *that = map->take(fileName); Q_ASSERT(this == that); - Q_UNUSED(that); + Q_UNUSED(that) } } @@ -720,7 +720,7 @@ bool PatchedLibraryPrivate::isPlugin(QSettings *settings) return pluginState == IsAPlugin; #else - Q_UNUSED(settings); + Q_UNUSED(settings) return pluginState == MightBeAPlugin; #endif } @@ -813,7 +813,7 @@ void PatchedPluginLoader::setFileName(const QString &fileName) qWarning("Cannot load %s into a statically linked Qt library.", (const char*)QFile::encodeName(fileName)); } - Q_UNUSED(fileName); + Q_UNUSED(fileName) #endif } diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp index 06192e8f27..688cb7b760 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp +++ b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp @@ -43,7 +43,7 @@ MyPlugin2::MyPlugin2() bool MyPlugin2::initialize(const QStringList & /*arguments*/, QString *errorString) { - Q_UNUSED(errorString); + Q_UNUSED(errorString) initializeCalled = true; QObject *obj = new QObject(this); obj->setObjectName("MyPlugin2"); diff --git a/src/libs/qtconcurrent/multitask.h b/src/libs/qtconcurrent/multitask.h index f166a5019f..a043cb4b15 100644 --- a/src/libs/qtconcurrent/multitask.h +++ b/src/libs/qtconcurrent/multitask.h @@ -126,20 +126,20 @@ protected: void setProgressRange(int min, int max) { - Q_UNUSED(min); - Q_UNUSED(max); + Q_UNUSED(min) + Q_UNUSED(max) updateProgress(); } void setProgressValue(int value) { - Q_UNUSED(value); + Q_UNUSED(value) updateProgress(); } void setProgressText(QString value) { - Q_UNUSED(value); + Q_UNUSED(value) updateProgressText(); } private: |