Commit b6ca8da0 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fixed compiler warning

parent 19670c5b
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment