commit | b63388219db43846f86d290ce2580240cefc09c1 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Thu May 31 13:27:24 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Thu May 31 13:27:24 2012 -0700 |
tree | ffe8496b27cd2c1e7f3d0049273cdec063a4e344 | |
parent | 5a8d5aaca17f1a362303fa54f5c8f494e021d638 [diff] [blame] |
add type hello in chatbuf; dialog text display work for local message
diff --git a/chatdialog.h b/chatdialog.h index 0f65426..4c24335 100644 --- a/chatdialog.h +++ b/chatdialog.h
@@ -11,7 +11,7 @@ ChatDialog(QWidget *parent = 0); public slots: - void appendMessage(SyncDemo::ChatMessage &msg); + void appendMessage(const SyncDemo::ChatMessage &msg); void updateTreeView(); private slots: