projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed crash when joining new channels
[quassel.git]
/
src
/
client
/
treemodel.cpp
diff --git
a/src/client/treemodel.cpp
b/src/client/treemodel.cpp
index
27bcb5b
..
795eb1e
100644
(file)
--- a/
src/client/treemodel.cpp
+++ b/
src/client/treemodel.cpp
@@
-89,7
+89,7
@@
int TreeItem::columnCount() const {
}
QVariant TreeItem::data(int column, int role) const {
- if(role == Qt::DisplayRole
and
column < itemData.count())
+ if(role == Qt::DisplayRole
&&
column < itemData.count())
return itemData[column];
else
return QVariant();