personal message fix

This commit is contained in:
Max-Wilhelm Bruker 2011-01-03 22:39:53 +01:00
parent 571cf91e00
commit 509d540167
2 changed files with 2 additions and 0 deletions

View file

@ -164,6 +164,7 @@ TabRoom::TabRoom(AbstractClient *_client, const QString &_ownName, ServerInfo_Ro
{ {
gameSelector = new GameSelector(client, roomId); gameSelector = new GameSelector(client, roomId);
userList = new UserList(false); userList = new UserList(false);
connect(userList, SIGNAL(openMessageDialog(const QString &, bool)), this, SIGNAL(openMessageDialog(const QString &, bool)));
chatView = new ChatView(ownName); chatView = new ChatView(ownName);
sayLabel = new QLabel; sayLabel = new QLabel;

View file

@ -78,6 +78,7 @@ private:
QString sanitizeHtml(QString dirty) const; QString sanitizeHtml(QString dirty) const;
signals: signals:
void roomClosing(TabRoom *tab); void roomClosing(TabRoom *tab);
void openMessageDialog(const QString &userName, bool focus);
private slots: private slots:
void sendMessage(); void sendMessage();
void actLeaveRoom(); void actLeaveRoom();