SPUTDEV compiles again, and the MessageModel now actually is filled with messages...
[quassel.git] / src / qtui / chatlinemodel.cpp
index 9d640d8..09904e2 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "chatlinemodel.h"
 
+#include "chatline.h"
+
 ChatlineModel::ChatlineModel(QObject *parent) : MessageModel(parent) {
 
 
@@ -31,6 +33,6 @@ ChatlineModel::~ChatlineModel() {
 
 
 MessageItem *ChatlineModel::createMessageItem(const Message &msg) {
-  return 0;
+  return new Chatline(msg);
 
 }