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; }