Changeset 6431
- Timestamp:
- 07/07/08 06:05:09 (5 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
qt-gui/src/usereventdlg.cpp (modified) (1 diff)
-
qt4-gui/src/userevents/usersendcommon.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt-gui/src/usereventdlg.cpp
r6430 r6431 2431 2431 return; 2432 2432 }*/ 2433 else 2434 { 2435 emit autoCloseNotify(); 2436 if (sendDone(e)) 2437 { 2438 emit mainwin->signal_sentevent(e); 2439 if (mainwin->m_bMsgChatView && mleHistory != NULL) 2440 { 2441 mleHistory->GotoEnd(); 2442 resetSettings(); 2443 } 2444 else 2445 close(); 2446 } 2433 2434 emit autoCloseNotify(); 2435 if (sendDone(e)) 2436 { 2437 emit mainwin->signal_sentevent(e); 2438 if (mainwin->m_bMsgChatView && mleHistory != NULL) 2439 { 2440 mleHistory->GotoEnd(); 2441 resetSettings(); 2442 2443 // After sending URI/File/Contact/ChatRequest switch back to text message 2444 if (!isType(UC_MESSAGE)) 2445 changeEventType(UC_MESSAGE); 2446 } 2447 else 2448 close(); 2447 2449 } 2448 2450 } -
trunk/qt4-gui/src/userevents/usersendcommon.cpp
r6430 r6431 1189 1189 return; 1190 1190 } 1191 else 1192 { 1193 emit autoCloseNotify(); 1194 if (sendDone(e)) 1195 { 1196 emit eventSent(e); 1197 if (Config::Chat::instance()->msgChatView() && myHistoryView != NULL) 1198 { 1199 myHistoryView->GotoEnd(); 1200 resetSettings(); 1201 } 1202 else 1203 close(); 1204 } 1191 1192 emit autoCloseNotify(); 1193 if (sendDone(e)) 1194 { 1195 emit eventSent(e); 1196 if (Config::Chat::instance()->msgChatView() && myHistoryView != NULL) 1197 { 1198 myHistoryView->GotoEnd(); 1199 resetSettings(); 1200 1201 // After sending URI/File/Contact/ChatRequest switch back to text message 1202 if (myType != MessageEvent) 1203 changeEventType(MessageEvent); 1204 } 1205 else 1206 close(); 1205 1207 } 1206 1208 }
