logic: Don't show line numbers for summary

This commit is contained in:
Eberhard Graether
2016-02-08 01:24:28 +01:00
parent d8a8bbee06
commit d6c03ffb02
11 changed files with 61 additions and 30 deletions
@@ -37,6 +37,8 @@ void CodeController::handleMessage(MessageActivateAll* message)
statsSnippet.startLineNumber = 1;
statsSnippet.endLineNumber = 1;
statsSnippet.reduced = true;
statsSnippet.locationFile = std::make_shared<TokenLocationFile>(FilePath());
statsSnippet.locationFile->isWholeCopy = true;
@@ -12,6 +12,7 @@ CodeSnippetParams::CodeSnippetParams()
, isActive(false)
, isDeclaration(false)
, isCollapsed(false)
, reduced(false)
{
}
@@ -33,6 +33,8 @@ struct CodeSnippetParams
bool isActive;
bool isDeclaration;
bool isCollapsed;
bool reduced;
};
#endif // CODE_SNIPPET_PARAMS_H