From 698a34aea1ee6caa64451a2cd828574661e40a0e Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 14 Jan 2021 07:19:14 +0100 Subject: [PATCH] GIT_SILENT: Remove extra ; --- .../autotests/filterimportertest.cpp | 10 +++++----- src/mailimporter/filterimporterbase.cpp | 16 ++++++++-------- src/mailimporter/filterinfogui.cpp | 18 +++++++++--------- .../autotests/filterimportertest.cpp | 8 ++++---- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/mailimporter/autotests/filterimportertest.cpp b/src/mailimporter/autotests/filterimportertest.cpp index fb39732..3ba47cc 100644 --- a/src/mailimporter/autotests/filterimportertest.cpp +++ b/src/mailimporter/autotests/filterimportertest.cpp @@ -14,7 +14,7 @@ FilterImporterTest::FilterImporterTest(MailImporter::FilterInfo *info) bool FilterImporterTest::importMessage(const QString &folderName, const QString &msgPath, bool duplicateCheck, const MailImporter::MessageStatus &status) { - Q_UNUSED(status); + Q_UNUSED(status) qDebug() << "FilterImporterTest::importMessage folderName " << folderName << " msgPath " << msgPath << " duplicateCheck " << duplicateCheck; return false; } @@ -39,10 +39,10 @@ QString FilterImporterTest::topLevelFolder() const bool FilterImporterTest::importMessage(const KArchiveFile *file, const QString &folderPath, int &nbTotal, int &fileDone) { - Q_UNUSED(file); - Q_UNUSED(folderPath); - Q_UNUSED(nbTotal); - Q_UNUSED(fileDone); + Q_UNUSED(file) + Q_UNUSED(folderPath) + Q_UNUSED(nbTotal) + Q_UNUSED(fileDone) return false; } diff --git a/src/mailimporter/filterimporterbase.cpp b/src/mailimporter/filterimporterbase.cpp index 0139643..6f26376 100644 --- a/src/mailimporter/filterimporterbase.cpp +++ b/src/mailimporter/filterimporterbase.cpp @@ -20,19 +20,19 @@ FilterImporterBase::~FilterImporterBase() bool FilterImporterBase::importMessage(const QString &folderName, const QString &msgPath, bool duplicateCheck, const MessageStatus &status) { - Q_UNUSED(folderName); - Q_UNUSED(msgPath); - Q_UNUSED(duplicateCheck); - Q_UNUSED(status); + Q_UNUSED(folderName) + Q_UNUSED(msgPath) + Q_UNUSED(duplicateCheck) + Q_UNUSED(status) return false; } bool FilterImporterBase::importMessage(const KArchiveFile *file, const QString &folderPath, int &nbTotal, int &fileDone) { - Q_UNUSED(file); - Q_UNUSED(folderPath); - Q_UNUSED(nbTotal); - Q_UNUSED(fileDone); + Q_UNUSED(file) + Q_UNUSED(folderPath) + Q_UNUSED(nbTotal) + Q_UNUSED(fileDone) return false; } diff --git a/src/mailimporter/filterinfogui.cpp b/src/mailimporter/filterinfogui.cpp index 48e8fb5..8b4759c 100644 --- a/src/mailimporter/filterinfogui.cpp +++ b/src/mailimporter/filterinfogui.cpp @@ -18,42 +18,42 @@ FilterInfoGui::~FilterInfoGui() void FilterInfoGui::setStatusMessage(const QString &status) { - Q_UNUSED(status); + Q_UNUSED(status) } void FilterInfoGui::setFrom(const QString &from) { - Q_UNUSED(from); + Q_UNUSED(from) } void FilterInfoGui::setTo(const QString &to) { - Q_UNUSED(to); + Q_UNUSED(to) } void FilterInfoGui::setCurrent(const QString ¤t) { - Q_UNUSED(current); + Q_UNUSED(current) } void FilterInfoGui::setCurrent(int percent) { - Q_UNUSED(percent); + Q_UNUSED(percent) } void FilterInfoGui::setOverall(int percent) { - Q_UNUSED(percent); + Q_UNUSED(percent) } void FilterInfoGui::addErrorLogEntry(const QString &log) { - Q_UNUSED(log); + Q_UNUSED(log) } void FilterInfoGui::addInfoLogEntry(const QString &log) { - Q_UNUSED(log); + Q_UNUSED(log) } void FilterInfoGui::clear() @@ -62,7 +62,7 @@ void FilterInfoGui::clear() void FilterInfoGui::alert(const QString &message) { - Q_UNUSED(message); + Q_UNUSED(message) } QWidget *FilterInfoGui::parent() const diff --git a/src/mailimporterakonadi/autotests/filterimportertest.cpp b/src/mailimporterakonadi/autotests/filterimportertest.cpp index e5ab501..10ae270 100644 --- a/src/mailimporterakonadi/autotests/filterimportertest.cpp +++ b/src/mailimporterakonadi/autotests/filterimportertest.cpp @@ -39,10 +39,10 @@ QString FilterImporterTest::topLevelFolder() const bool FilterImporterTest::importMessage(const KArchiveFile *file, const QString &folderPath, int &nbTotal, int &fileDone) { - Q_UNUSED(file); - Q_UNUSED(folderPath); - Q_UNUSED(nbTotal); - Q_UNUSED(fileDone); + Q_UNUSED(file) + Q_UNUSED(folderPath) + Q_UNUSED(nbTotal) + Q_UNUSED(fileDone) return false; } -- GitLab