Fix warning: "Missing emit keyword on signal call"

[-Wclazy-incorrect-emit]

Change-Id: I93bdc6e23cdaccf35c9899ae16870ccc65a54f80
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Alessandro Portale
2019-01-16 18:06:21 +01:00
parent 710e57a628
commit 616e19ff9e
42 changed files with 97 additions and 93 deletions

View File

@@ -165,7 +165,7 @@ void TodoOutputPane::scopeButtonClicked(QAbstractButton *button)
emit scanningScopeChanged(ScanningScopeSubProject);
else if (button == m_wholeProjectButton)
emit scanningScopeChanged(ScanningScopeProject);
setBadgeNumber(m_todoTreeView->model()->rowCount());
emit setBadgeNumber(m_todoTreeView->model()->rowCount());
}
void TodoOutputPane::todoTreeViewClicked(const QModelIndex &index)
@@ -187,7 +187,7 @@ void TodoOutputPane::todoTreeViewClicked(const QModelIndex &index)
void TodoOutputPane::updateTodoCount()
{
setBadgeNumber(m_todoTreeView->model()->rowCount());
emit setBadgeNumber(m_todoTreeView->model()->rowCount());
}
void TodoOutputPane::updateFilter()