summaryrefslogtreecommitdiffstats
path: root/pica-client/msguirouter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client/msguirouter.cpp')
-rw-r--r--pica-client/msguirouter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pica-client/msguirouter.cpp b/pica-client/msguirouter.cpp
index 6abe8c0..4cb7771 100644
--- a/pica-client/msguirouter.cpp
+++ b/pica-client/msguirouter.cpp
@@ -64,6 +64,7 @@ void MsgUIRouter::create_chatwindow(QByteArray peer_id)
connect(cw, SIGNAL(msg_input(QString,ChatWindow*)), this, SLOT(msg_to_peer(QString,ChatWindow*)));
connect(cw, SIGNAL(chatwindow_close(ChatWindow*)), this, SLOT(chatwindow_closed(ChatWindow*)));
connect(cw, SIGNAL(contacts_update()), skynet, SIGNAL(ContactsUpdated()));
+ connect(skynet, SIGNAL(ContactsUpdated()), cw, SLOT(set_peer_name()));
cw->show();
}