Changeset 49 for psi/trunk/src/chatdlg.cpp
- Timestamp:
- Sep 14, 2006, 11:31:42 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
psi/trunk/src/chatdlg.cpp
r46 r49 359 359 void ChatDlg::keyPressEvent(QKeyEvent *e) 360 360 { 361 if(e->key() == Key_Escape && !option.useTabs) 362 close(); 363 //#ifdef Q_WS_MAC //this is a standard on other platforms too 361 if(e->key() == Key_Escape && e->state() == 0 && !option.useTabs) 362 showMinimized(); 364 363 else if(e->key() == Key_W && e->state() & ControlButton && !option.useTabs) 365 364 close(); 366 //#endif367 365 else if(e->key() == Key_Return || e->key() == Key_Enter || (e->key() == Key_S && (e->state() & AltButton))) 368 366 doSend();
Note:
See TracChangeset
for help on using the changeset viewer.