bug: Fix re-show chatdialog
Change-Id: Ia11aabc1c22ed3f92fc24be2fcd8a60e49044aad
diff --git a/src/controller.cpp b/src/controller.cpp
index 313c673..fc4037b 100644
--- a/src/controller.cpp
+++ b/src/controller.cpp
@@ -547,7 +547,7 @@
QAction* chatAction = new QAction(chatroomName, this);
m_chatActionList[chatroomName.toStdString()] = chatAction;
connect(chatAction, SIGNAL(triggered()),
- chatDialog, SLOT(raise()));//ymj
+ chatDialog, SLOT(onShow()));
QAction* closeAction = new QAction(chatroomName, this);
m_closeActionList[chatroomName.toStdString()] = closeAction;