Fixed compiler warning

This commit is contained in:
Thorbjørn Lindeijer
2009-02-11 12:11:21 +01:00
parent 19670c5beb
commit b6ca8da0bd

View File

@@ -923,7 +923,7 @@ QVariant ProScopeFilter::data(const QModelIndex &index, int role) const
{
bool checkable =
m_checkable == ProScopeFilter::Blocks
|| m_checkable == ProScopeFilter::Variable && sourceVariable(index);
|| (m_checkable == ProScopeFilter::Variable && sourceVariable(index));
if (checkable && role == Qt::CheckStateRole) {
QModelIndex srcindex = mapToSource(index);