qmlls: move isSematicInfoOutdated to private object

this avoid use of the (still unintialized q->d) in settingsChanged in
the constructor

Change-Id: Idd756fc88df166124c34a6177a9d598604634057
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Fawzi Mohamed
2022-10-13 14:13:00 +02:00
parent 8f9d582c6c
commit e27af202fc
2 changed files with 10 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ public:
void onDocumentUpdated(QmlJS::Document::Ptr doc);
void reupdateSemanticInfo();
void acceptNewSemanticInfo(const QmlJSTools::SemanticInfo &semanticInfo);
bool isSemanticInfoOutdated() const;
void updateOutlineModel();
void createTextMarks(const QList<QmlJS::DiagnosticMessage> &diagnostics);