From 46a3f9f57a480639464925ffd7d110420f8d2d34 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Fri, 11 Dec 2015 09:13:48 +0100 Subject: [PATCH] Some tiny fixes. Thinking about something. --- src/services/abstract/recyclebin.h | 1 - src/services/standard/standardserviceroot.cpp | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/abstract/recyclebin.h b/src/services/abstract/recyclebin.h index c494aeecc..e192e80f9 100755 --- a/src/services/abstract/recyclebin.h +++ b/src/services/abstract/recyclebin.h @@ -33,7 +33,6 @@ class RecycleBin : public RootItem { bool markAsReadUnread(ReadStatus status); bool cleanMessages(bool clear_only_read); - int countOfUnreadMessages() const; int countOfAllMessages() const; diff --git a/src/services/standard/standardserviceroot.cpp b/src/services/standard/standardserviceroot.cpp index 6f6778072..d3315adab 100755 --- a/src/services/standard/standardserviceroot.cpp +++ b/src/services/standard/standardserviceroot.cpp @@ -546,6 +546,9 @@ bool StandardServiceRoot::onAfterMessagesDelete(RootItem *selected_item, const Q } bool StandardServiceRoot::onBeforeMessagesRestoredFromBin(RootItem *selected_item, const QList &messages) { + Q_UNUSED(selected_item) + Q_UNUSED(messages) + return true; }