X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Ftreemodel.cpp;h=795eb1edd78b16eaec59a69d8375409d4f08ee4a;hp=27bcb5b033474c23b6b23dec544d1844af04f152;hb=6609a6b6f50274e90ecca1aca2c0e2e9ad2e6327;hpb=0555b01cbb4789122de7bc0a5325c664fbed87cd diff --git a/src/client/treemodel.cpp b/src/client/treemodel.cpp index 27bcb5b0..795eb1ed 100644 --- 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();