diff options
| author | Elvis Angelaccio <[email protected]> | 2019-11-09 22:06:39 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-11-09 22:09:16 +0100 |
| commit | 16a3aea6a629a91aab937be5c111b64b3ed6cf86 (patch) | |
| tree | 3bd91330126e2fc5f053fc75bd8c9436d35bd214 /src/tests | |
| parent | 3512293b9840dd00c204d9b72ddd28ad26fff9ff (diff) | |
Remove unnecessary semicolons after Q_UNUSED
GIT_SILENT
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/kfileitemmodelbenchmark.cpp | 2 | ||||
| -rw-r--r-- | src/tests/kfileitemmodeltest.cpp | 2 | ||||
| -rw-r--r-- | src/tests/kitemlistselectionmanagertest.cpp | 2 | ||||
| -rw-r--r-- | src/tests/viewpropertiestest.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/kfileitemmodelbenchmark.cpp b/src/tests/kfileitemmodelbenchmark.cpp index 64ad116f6..8dfb4f622 100644 --- a/src/tests/kfileitemmodelbenchmark.cpp +++ b/src/tests/kfileitemmodelbenchmark.cpp @@ -28,7 +28,7 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext& context, const QString& msg) { - Q_UNUSED(context); + Q_UNUSED(context) switch (type) { case QtDebugMsg: diff --git a/src/tests/kfileitemmodeltest.cpp b/src/tests/kfileitemmodeltest.cpp index f081eba86..0c38f02bf 100644 --- a/src/tests/kfileitemmodeltest.cpp +++ b/src/tests/kfileitemmodeltest.cpp @@ -31,7 +31,7 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext& context, const QString& msg) { - Q_UNUSED(context); + Q_UNUSED(context) switch (type) { case QtDebugMsg: diff --git a/src/tests/kitemlistselectionmanagertest.cpp b/src/tests/kitemlistselectionmanagertest.cpp index 0655dcfb0..99313ff80 100644 --- a/src/tests/kitemlistselectionmanagertest.cpp +++ b/src/tests/kitemlistselectionmanagertest.cpp @@ -55,7 +55,7 @@ int DummyModel::count() const QHash<QByteArray, QVariant> DummyModel::data(int index) const { - Q_UNUSED(index); + Q_UNUSED(index) return QHash<QByteArray, QVariant>(); } diff --git a/src/tests/viewpropertiestest.cpp b/src/tests/viewpropertiestest.cpp index 0cd55662d..6e0452209 100644 --- a/src/tests/viewpropertiestest.cpp +++ b/src/tests/viewpropertiestest.cpp @@ -74,7 +74,7 @@ void ViewPropertiesTest::testReadOnlyBehavior() QScopedPointer<ViewProperties> props(new ViewProperties(m_testDir->url())); QVERIFY(props->isAutoSaveEnabled()); const QByteArray sortRole = props->sortRole(); - Q_UNUSED(sortRole); + Q_UNUSED(sortRole) props.reset(); QVERIFY(!QFile::exists(dotDirectoryFile)); |
