Switch some dirty hacking to using real infrastructure. A Chatline now contains three...
[quassel.git] / src / qtui / chatlinemodelitem.cpp
index 009d535..4e1eb47 100644 (file)
@@ -43,7 +43,7 @@ QVariant ChatlineModelItem::data(int column, int role) const {
   switch(column) {
     case ChatlineModel::TimestampColumn: part = &_timestamp; break;
     case ChatlineModel::SenderColumn:    part = &_sender; break;
   switch(column) {
     case ChatlineModel::TimestampColumn: part = &_timestamp; break;
     case ChatlineModel::SenderColumn:    part = &_sender; break;
-    case ChatlineModel::TextColumn:      part = &_contents; break;
+    case ChatlineModel::ContentsColumn:      part = &_contents; break;
     default: return MessageModelItem::data(column, role);
   }
 
     default: return MessageModelItem::data(column, role);
   }