Commit 8f6b4c78 authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Erik Verbruggen
Browse files

CppTools: Remove useless parameter in recalculateSemanticInfo()

Change-Id: I24b6f6d698051d1ccfe3f0d83078c26d8de193fb
Reviewed-by: default avatarErik Verbruggen <>
parent 2a9cde94
......@@ -964,7 +964,7 @@ void CPPEditorWidget::renameSymbolUnderCursor()
CppEditorSupport *edSup = m_modelManager->cppEditorSupport(editor());
updateSemanticInfo(edSup->recalculateSemanticInfo(/* emitSignalWhenFinished = */ false));
QTextCursor c = textCursor();
......@@ -220,12 +220,12 @@ bool CppEditorSupport::initialized()
return m_initialized;
SemanticInfo CppEditorSupport::recalculateSemanticInfo(bool emitSignalWhenFinished)
SemanticInfo CppEditorSupport::recalculateSemanticInfo()
SemanticInfo::Source source = currentSource(false);
recalculateSemanticInfoNow(source, emitSignalWhenFinished);
recalculateSemanticInfoNow(source, /*emitSignalWhenFinished=*/ false);
return m_lastSemanticInfo;
......@@ -110,8 +110,8 @@ public:
bool initialized();
/// Retrieve the semantic info, which will get recalculated on the current
/// thread if it is outdate.
SemanticInfo recalculateSemanticInfo(bool emitSignalWhenFinished = true);
/// thread if it is outdate. Will not emit the semanticInfoUpdated() signal.
SemanticInfo recalculateSemanticInfo();
CPlusPlus::Document::Ptr lastSemanticInfoDocument() const;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment