data: Save command line info for CXX indexer commands to errors and show within errors table (issue #351)

bug id = 351
This commit is contained in:
Eberhard Graether
2017-08-09 12:16:16 +02:00
parent 1ac63f0158
commit 2e375112e6
26 changed files with 149 additions and 77 deletions
+10
View File
@@ -86,6 +86,16 @@ void QtStatusBar::setErrorCount(ErrorCountInfo errorCount)
m_errorButton.setText(
QString::number(errorCount.total) + " error" + (errorCount.total > 1 ? "s" : "") +
(errorCount.fatal > 0 ? " (" + QString::number(errorCount.fatal) + " fatal)" : ""));
if (errorCount.fatal > 0)
{
m_errorButton.setStyleSheet("QPushButton { color: #D00000; margin-right: 0; spacing: none; }");
}
else
{
m_errorButton.setStyleSheet("QPushButton { color: #000000; margin-right: 0; spacing: none; }");
}
m_errorButton.show();
}
else