Zhenkai Zhu | 6d589aa | 2012-05-29 17:34:35 -0700 | [diff] [blame] | 1 | #include<QApplication> |
2 | #include "chatdialog.h" | ||||
3 | |||||
4 | int main(int argc, char *argv[]) | ||||
5 | { | ||||
6 | QApplication app(argc, argv); | ||||
7 | |||||
8 | ChatDialog dialog; | ||||
9 | dialog.show(); | ||||
Zhenkai Zhu | 7e9b06d | 2012-06-02 00:44:42 -0700 | [diff] [blame] | 10 | dialog.activateWindow(); |
Zhenkai Zhu | 6d589aa | 2012-05-29 17:34:35 -0700 | [diff] [blame] | 11 | return app.exec(); |
12 | } |