forked from qt-creator/qt-creator
Utils: Base AspectContainer on BaseAspect
Change-Id: I78b11727af6e465da5731ba36bbae476d11d11ee Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -176,7 +176,7 @@ void ClangToolsSettings::readSettings()
|
||||
writeSettings();
|
||||
}
|
||||
|
||||
void ClangToolsSettings::writeSettings()
|
||||
void ClangToolsSettings::writeSettings() const
|
||||
{
|
||||
AspectContainer::writeSettings();
|
||||
|
||||
@@ -192,7 +192,7 @@ void ClangToolsSettings::writeSettings()
|
||||
|
||||
s->endGroup();
|
||||
|
||||
emit changed();
|
||||
emit const_cast<ClangToolsSettings *>(this)->changed(); // FIXME: This is the wrong place
|
||||
}
|
||||
|
||||
FilePath ClangToolsSettings::executable(ClangToolType tool) const
|
||||
|
||||
Reference in New Issue
Block a user