mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bad connect in notifyQt for chat window
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
067e5d4fac
commit
c5e65486aa
@ -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<TurtleFileInfo>& files)
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user