diff --git a/retroshare-gui/src/gui/notifyqt.cpp b/retroshare-gui/src/gui/notifyqt.cpp index 43b4688e9..5e54135ee 100644 --- a/retroshare-gui/src/gui/notifyqt.cpp +++ b/retroshare-gui/src/gui/notifyqt.cpp @@ -510,7 +510,7 @@ void NotifyQt::notifyChatLobbyEvent(uint64_t lobby_id,uint32_t event_type,const void NotifyQt::notifyChatShow(const std::string& peer_id) { - emit raiseChatWindow(RsPeerId(peer_id)) ; + emit raiseChatWindow(QString::fromStdString(peer_id)) ; } void NotifyQt::notifyChatStatus(const std::string& peer_id,const std::string& status_string,bool is_private) @@ -527,9 +527,9 @@ void NotifyQt::notifyChatStatus(const std::string& peer_id,const std::string& st emit chatStatusChanged(QString::fromStdString(peer_id),QString::fromUtf8(status_string.c_str()),is_private) ; } -void NotifyQt::raiseChatWindow_slot(const RsPeerId& peer_str) +void NotifyQt::raiseChatWindow_slot(const QString& peer_str) { - ChatDialog::chatFriend(peer_str) ; + ChatDialog::chatFriend(RsPeerId(peer_str.toStdString())) ; } void NotifyQt::notifyTurtleSearchResult(uint32_t search_id,const std::list& files) diff --git a/retroshare-gui/src/gui/notifyqt.h b/retroshare-gui/src/gui/notifyqt.h index 690334728..9634b796c 100644 --- a/retroshare-gui/src/gui/notifyqt.h +++ b/retroshare-gui/src/gui/notifyqt.h @@ -118,7 +118,7 @@ class NotifyQt: public QObject, public NotifyClient void peerStatusChangedSummary() const; void publicChatChanged(int type) const ; void privateChatChanged(int list, int type) const ; - void raiseChatWindow(const RsPeerId&) const ; + void raiseChatWindow(const QString&) const ; void groupsChanged(int type) const ; void discInfoChanged() const ; void downloadComplete(const QString& /* fileHash */); @@ -143,7 +143,7 @@ class NotifyQt: public QObject, public NotifyClient void runningTick(); void handleSignatureEvent() ; void handleChatLobbyTimeShift(int) ; - void raiseChatWindow_slot(const RsPeerId&) ; + void raiseChatWindow_slot(const QString&) ; private: NotifyQt();