dont save parser when code/header completion popup hides
This commit is contained in:
parent
b3e5ddc94c
commit
81b524c9ed
2
NEWS.md
2
NEWS.md
|
@ -1,5 +1,5 @@
|
|||
Version 0.8.6 For Dev-C++ 7 Beta
|
||||
- enhancement: greatly reduces memory usage for symbol parsing ( memory needed for bits/stdc++.h reduced from 150m+ to 50m+)
|
||||
- enhancement: greatly reduces memory usage for symbol parsing ( memory needed for bits/stdc++.h reduced from 150m+ to 80m+)
|
||||
- fix: currect compiler set not correctly updated when switch between normal file and project file
|
||||
|
||||
Version 0.8.5 For Dev-C++ 7 Beta
|
||||
|
|
|
@ -894,6 +894,7 @@ void CodeCompletionPopup::hideEvent(QHideEvent *event)
|
|||
mIncludedFiles.clear();
|
||||
mUsings.clear();
|
||||
mAddedStatements.clear();
|
||||
mParser = nullptr;
|
||||
QWidget::hideEvent(event);
|
||||
}
|
||||
|
||||
|
|
|
@ -227,6 +227,7 @@ void HeaderCompletionPopup::hideEvent(QHideEvent *)
|
|||
{
|
||||
mCompletionList.clear();
|
||||
mFullCompletionList.clear();
|
||||
mParser = nullptr;
|
||||
}
|
||||
|
||||
bool HeaderCompletionPopup::event(QEvent *event)
|
||||
|
|
Loading…
Reference in New Issue