projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix crash on end of backlog (cf. BR 248)
[quassel.git]
/
src
/
client
/
client.cpp
diff --git
a/src/client/client.cpp
b/src/client/client.cpp
index
a2ffd8e
..
55a9df3
100644
(file)
--- a/
src/client/client.cpp
+++ b/
src/client/client.cpp
@@
-449,6
+449,7
@@
void Client::recvMessage(const Message &msg_) {
}
void Client::receiveBacklog(BufferId bufferId, const QVariantList &msgs) {
+ if(msgs.isEmpty()) return;
//QTime start = QTime::currentTime();
QList<Message> msglist;
foreach(QVariant v, msgs) {