From e6d16f6f390162f4b24829585d0340ff1b004efd Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 30 Jan 2020 23:12:21 +0100 Subject: [PATCH] marked old hashing notification as removed --- retroshare-gui/src/gui/notifyqt.cpp | 2 ++ retroshare-gui/src/gui/notifyqt.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/retroshare-gui/src/gui/notifyqt.cpp b/retroshare-gui/src/gui/notifyqt.cpp index e872511ac..a9bdd2705 100644 --- a/retroshare-gui/src/gui/notifyqt.cpp +++ b/retroshare-gui/src/gui/notifyqt.cpp @@ -584,6 +584,7 @@ void NotifyQt::notifyTurtleSearchResult(const RsPeerId& pid,uint32_t search_id,c } } +#ifdef TO_REMOVE void NotifyQt::notifyHashingInfo(uint32_t type, const std::string& fileinfo) { QString info; @@ -610,6 +611,7 @@ void NotifyQt::notifyHashingInfo(uint32_t type, const std::string& fileinfo) emit hashingInfoChanged(info); } +#endif void NotifyQt::notifyHistoryChanged(uint32_t msgId, int type) { diff --git a/retroshare-gui/src/gui/notifyqt.h b/retroshare-gui/src/gui/notifyqt.h index 30ef6b1e2..19bd20bba 100644 --- a/retroshare-gui/src/gui/notifyqt.h +++ b/retroshare-gui/src/gui/notifyqt.h @@ -67,7 +67,9 @@ class NotifyQt: public QObject, public NotifyClient virtual void notifyChatStatus(const ChatId &chat_id,const std::string& status_string); virtual void notifyChatCleared(const ChatId &chat_id); virtual void notifyCustomState(const std::string& peer_id, const std::string& status_string); +#ifdef TO_REMOVE virtual void notifyHashingInfo(uint32_t type, const std::string& fileinfo); +#endif virtual void notifyTurtleSearchResult(const RsPeerId &pid, uint32_t search_id, const std::list& found_files); virtual void notifyTurtleSearchResult(uint32_t search_id,const std::list& found_groups); virtual void notifyPeerHasNewAvatar(std::string peer_id) ;