logic: Moved all error handling logic into ErrorController (issue #577)
* Handle all error related messages in ErrorController * Moved error filter state from Storage to ErrorController * Moved all error related messages to type/error subdirectory * Enable all errors shown by default * Always show unfiltered error count in status bar and overview * Fixed all errors shown again when changing error filter on errors for file
This commit is contained in:
@@ -841,6 +841,11 @@ int SqliteIndexStorage::getSourceLocationCount() const
|
||||
return executeStatementScalar("SELECT COUNT(*) FROM source_location;", 0);
|
||||
}
|
||||
|
||||
int SqliteIndexStorage::getErrorCount() const
|
||||
{
|
||||
return executeStatementScalar("SELECT COUNT(*) FROM error;", 0);
|
||||
}
|
||||
|
||||
std::vector<std::pair<int, SqliteDatabaseIndex>> SqliteIndexStorage::getIndices() const
|
||||
{
|
||||
std::vector<std::pair<int, SqliteDatabaseIndex>> indices;
|
||||
|
||||
Reference in New Issue
Block a user