summaryrefslogtreecommitdiffstats
path: root/examples/chat/chatmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/chat/chatmodel.cpp')
-rw-r--r--examples/chat/chatmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/chat/chatmodel.cpp b/examples/chat/chatmodel.cpp
index 1f587dd..6ee2927 100644
--- a/examples/chat/chatmodel.cpp
+++ b/examples/chat/chatmodel.cpp
@@ -199,9 +199,9 @@ qMakePair<int, QString>(0, "nah, I dont really care that much. you already have
ChatModel::ChatModel(QObject *parent)
: QtListModelInterface(parent), timerId(0)
{
- //timerId = startTimer(2000);
- for (int i = 0; i < 153; ++i)
- appendMessage(conversation[i].second, conversation[i].first);
+ timerId = startTimer(2000);
+ //for (int i = 0; i < 153; ++i)
+ // appendMessage(conversation[i].second, conversation[i].first);
}
ChatModel::~ChatModel()