ui: display fatal errors

* added ErrorCountInfo to incorporate reporting of fatal errors during code analysis.
This commit is contained in:
malte_langkabel
2016-03-02 10:53:04 +01:00
parent 4425b39ea1
commit 2ebfbbf88e
21 changed files with 105 additions and 213 deletions
+4 -4
View File
@@ -40,9 +40,9 @@ void QtStatusBarView::showMessage(const std::string& message, bool isError, bool
m_showMessageFunctor(message, isError, showLoader);
}
void QtStatusBarView::setErrorCount(size_t count)
void QtStatusBarView::setErrorCount(ErrorCountInfo errorCount)
{
m_setErrorCountFunctor(count);
m_setErrorCountFunctor(errorCount);
}
void QtStatusBarView::doShowMessage(const std::string& message, bool isError, bool showLoader)
@@ -50,7 +50,7 @@ void QtStatusBarView::doShowMessage(const std::string& message, bool isError, bo
m_widget->setText(message, isError, showLoader);
}
void QtStatusBarView::doSetErrorCount(size_t count)
void QtStatusBarView::doSetErrorCount(ErrorCountInfo errorCount)
{
m_widget->setErrorCount(count);
m_widget->setErrorCount(errorCount);
}