Changeset 673:345ff9dded46 in qutecom-2.2
- Timestamp:
- Oct 16, 2010 12:19:18 PM (3 years ago)
- Branch:
- default
- Location:
- qutecom/src/presentation/qt/chat
- Files:
-
- 2 edited
-
QtChatWidget.cpp (modified) (3 diffs)
-
QtChatWidget.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
qutecom/src/presentation/qt/chat/QtChatWidget.cpp
r666 r673 88 88 QWidget(parent), 89 89 _cChatHandler(cChatHandler), 90 _qtQuteCom(qtQuteCom) {90 _qtQuteCom(qtQuteCom),isLoaded(false) { 91 91 92 92 //Default nickname for testing purpose … … 327 327 328 328 void QtChatWidget::addToHistory(const QString & contactId, const QString & senderName, const QString & str, const QTime & time) { 329 if(!isLoaded) 330 return; 331 329 332 QTime tmp; 330 333 if (time.isNull()) { … … 651 654 ); 652 655 } 656 isLoaded = true; 653 657 } 654 658 -
qutecom/src/presentation/qt/chat/QtChatWidget.h
r645 r673 234 234 235 235 QWebView * _webView; 236 237 bool isLoaded; 236 238 }; 237 239
Note: See TracChangeset
for help on using the changeset viewer.
