Fixed crash when joining new channels
[quassel.git] / src / client / treemodel.cpp
index 27bcb5b..795eb1e 100644 (file)
@@ -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();