summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Badea <catalin.badea392@gmail.com>2012-06-30 16:39:36 (GMT)
committerCatalin Badea <catalin.badea392@gmail.com>2012-06-30 16:39:36 (GMT)
commit497c5dced0df19fc8953b55aa36b4d1e7101620a (patch)
treed593893a19873a4aa71d497632071b82bb1672c8 /Swift/QtUI/QtHistoryWindow.cpp
parentfaf48256d02f87383aa059033f5800e55cc5c660 (diff)
downloadswift-contrib-497c5dced0df19fc8953b55aa36b4d1e7101620a.zip
swift-contrib-497c5dced0df19fc8953b55aa36b4d1e7101620a.tar.bz2
Changed HistoryMessage structure back
Diffstat (limited to 'Swift/QtUI/QtHistoryWindow.cpp')
-rw-r--r--Swift/QtUI/QtHistoryWindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Swift/QtUI/QtHistoryWindow.cpp b/Swift/QtUI/QtHistoryWindow.cpp
index 2577f4b..24085d9 100644
--- a/Swift/QtUI/QtHistoryWindow.cpp
+++ b/Swift/QtUI/QtHistoryWindow.cpp
@@ -70,8 +70,9 @@ void QtHistoryWindow::setRosterModel(Roster* model) {
}
void QtHistoryWindow::addMessage(const HistoryMessage& message) {
- boost::shared_ptr<MessageSnippet> snippet(new MessageSnippet(QString::fromStdString(message.getMessage()), QString::fromStdString(message.getDisplayNick()), QDateTime::currentDateTime(), "", false, false, theme_, "id"));
- conversation_->addMessage(snippet);
+ // TODO
+ // boost::shared_ptr<MessageSnippet> snippet(new MessageSnippet(QString::fromStdString(message.getMessage()), QString::fromStdString(message.getDisplayNick()), QDateTime::currentDateTime(), "", false, false, theme_, "id"));
+ // conversation_->addMessage(snippet);
}
void QtHistoryWindow::handleSomethingSelectedChanged(RosterItem* item) {