aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-15 06:48:43 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-15 06:48:43 (GMT)
commit5820203f9577a4adf509622eda42b2b77c08a6f1 (patch)
tree28313af1fb60271dfc37ca91892be01e6aa76b96
parent8591c47f2adbbf42b63e35da0bf50dda5afe38e4 (diff)
Fix some clazy warningv16.11.80
-rw-r--r--autotests/benchmarker/maildir/maildir.h2
-rw-r--r--autotests/benchmarker/maildir/maildirimport.h2
-rw-r--r--autotests/benchmarker/vcard/vcardimport.h1
-rw-r--r--src/movetotrashcommand.cpp2
-rw-r--r--src/movetotrashcommand.h2
5 files changed, 5 insertions, 4 deletions
diff --git a/autotests/benchmarker/maildir/maildir.h b/autotests/benchmarker/maildir/maildir.h
index 6e53372..4a4b643 100644
--- a/autotests/benchmarker/maildir/maildir.h
+++ b/autotests/benchmarker/maildir/maildir.h
@@ -25,7 +25,7 @@
class MailDir : public MakeTest
{
-
+ Q_OBJECT
public:
MailDir(const QString &dir);
MailDir();
diff --git a/autotests/benchmarker/maildir/maildirimport.h b/autotests/benchmarker/maildir/maildirimport.h
index cd4699e..9640dc4 100644
--- a/autotests/benchmarker/maildir/maildirimport.h
+++ b/autotests/benchmarker/maildir/maildirimport.h
@@ -25,7 +25,7 @@
class MailDirImport : public MailDir
{
-
+ Q_OBJECT
public:
MailDirImport(const QString &dir);
void runTest() Q_DECL_OVERRIDE;
diff --git a/autotests/benchmarker/vcard/vcardimport.h b/autotests/benchmarker/vcard/vcardimport.h
index a852283..9b951cc 100644
--- a/autotests/benchmarker/vcard/vcardimport.h
+++ b/autotests/benchmarker/vcard/vcardimport.h
@@ -24,6 +24,7 @@
class VCardImport : public VCard
{
+ Q_OBJECT
public:
VCardImport(const QString &dir);
void runTest() Q_DECL_OVERRIDE;
diff --git a/src/movetotrashcommand.cpp b/src/movetotrashcommand.cpp
index 5a5b453..35d94f1 100644
--- a/src/movetotrashcommand.cpp
+++ b/src/movetotrashcommand.cpp
@@ -94,7 +94,7 @@ void MoveToTrashCommand::moveMessages()
}
}
-void MoveToTrashCommand::slotMoveDone(const Result &result)
+void MoveToTrashCommand::slotMoveDone(Result result)
{
if (result == Failed) {
emitResult(Failed);
diff --git a/src/movetotrashcommand.h b/src/movetotrashcommand.h
index b525e48..9b180f4 100644
--- a/src/movetotrashcommand.h
+++ b/src/movetotrashcommand.h
@@ -42,7 +42,7 @@ public:
private Q_SLOTS:
void slotFetchDone(KJob *job);
- void slotMoveDone(const Result &result);
+ void slotMoveDone(Result result);
private:
void moveMessages();