replaced multiple location warning with a location selector menu

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8311 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-05-29 14:01:33 +00:00
parent 6b87ca2414
commit 6b2cdaf9e1
2 changed files with 27 additions and 3 deletions

View file

@ -90,4 +90,15 @@ protected:
ChatId mChatId;
};
class ChatFriendMethod: public QObject
{
Q_OBJECT
public:
ChatFriendMethod(QObject* parent, RsPeerId peerId): QObject(parent), mPeerId(peerId){}
public slots:
void chatFriend(){ChatDialog::chatFriend(ChatId(mPeerId));}
private:
RsPeerId mPeerId;
};
#endif // CHATDIALOG_H