mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -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
2 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue