projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevent Quassel from crashing upon core dis- and reconnect and make the NickListWidgets
[quassel.git]
/
src
/
client
/
treemodel.cpp
diff --git
a/src/client/treemodel.cpp
b/src/client/treemodel.cpp
index
5783f03
..
fda1df4
100644
(file)
--- a/
src/client/treemodel.cpp
+++ b/
src/client/treemodel.cpp
@@
-260,4
+260,5
@@
bool TreeModel::removeRows(int row, int count, const QModelIndex &parent) {
void TreeModel::clear() {
removeRows(0, rowCount());
void TreeModel::clear() {
removeRows(0, rowCount());
+ reset();
}
}