Current implementation causes trouble because it's called for backlog replay
as well. Probably need some other way.
if(QApplication::activeWindow() != 0)
return;
if(QApplication::activeWindow() != 0)
return;
for(int i = start; i <= end; i++) {
QModelIndex idx = Client::messageModel()->index(i, ChatLineModel::ContentsColumn);
if(!idx.isValid()) {
for(int i = start; i <= end; i++) {
QModelIndex idx = Client::messageModel()->index(i, ChatLineModel::ContentsColumn);
if(!idx.isValid()) {