minor fix
This commit is contained in:
parent
e7db1a3a6f
commit
19c2096e5e
|
@ -971,13 +971,14 @@ void CodeCompletionPopup::hideEvent(QHideEvent *event)
|
||||||
QMutexLocker locker(&mMutex);
|
QMutexLocker locker(&mMutex);
|
||||||
mListView->setKeypressedCallback(nullptr);
|
mListView->setKeypressedCallback(nullptr);
|
||||||
mCompletionStatementList.clear();
|
mCompletionStatementList.clear();
|
||||||
foreach (PStatement statement, mFullCompletionStatementList) {
|
// foreach (PStatement statement, mFullCompletionStatementList) {
|
||||||
statement->matchPositions.clear();
|
// statement->matchPositions.clear();
|
||||||
}
|
// }
|
||||||
mFullCompletionStatementList.clear();
|
mFullCompletionStatementList.clear();
|
||||||
mIncludedFiles.clear();
|
mIncludedFiles.clear();
|
||||||
mUsings.clear();
|
mUsings.clear();
|
||||||
mAddedStatements.clear();
|
mAddedStatements.clear();
|
||||||
|
mCurrentStatement = nullptr;
|
||||||
mParser = nullptr;
|
mParser = nullptr;
|
||||||
QWidget::hideEvent(event);
|
QWidget::hideEvent(event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue