forked from qt-creator/qt-creator
Clang: Use only one ClangProjectSettings instance per project
So far we've created ClangProjectSettings objects on demand. To get change notifications there should be only one per project alive (and accessible). Change-Id: I757186ceaa642c6864d02946258cc6eb18064a52 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -59,7 +59,7 @@ private:
|
||||
|
||||
private:
|
||||
Ui::ClangProjectSettingsWidget m_ui;
|
||||
ClangProjectSettings m_projectSettings;
|
||||
ClangProjectSettings &m_projectSettings;
|
||||
QPointer<CppTools::ClangDiagnosticConfigsWidget> m_diagnosticConfigWidget;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user