From b6ca8da0bd19fa6fda32fc2993f5bec7bd1f5168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com> Date: Wed, 11 Feb 2009 12:11:21 +0100 Subject: [PATCH] Fixed compiler warning --- src/shared/proparser/proeditormodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/proparser/proeditormodel.cpp b/src/shared/proparser/proeditormodel.cpp index 787ea76410f..c11e8668e3f 100644 --- a/src/shared/proparser/proeditormodel.cpp +++ b/src/shared/proparser/proeditormodel.cpp @@ -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); -- GitLab