clean up code

This commit is contained in:
Roy Qu 2022-11-10 07:47:57 +08:00
parent a1c80cc562
commit 6a13d6462a
2 changed files with 0 additions and 15 deletions

View File

@ -50,7 +50,6 @@ CodeCompletionPopup::CodeCompletionPopup(QWidget *parent) :
mRecordUsage = false;
mSortByScope = true;
mOnlyGlobals = false;
mShowCount = 1000;
mShowCodeSnippets = true;
@ -942,16 +941,6 @@ void CodeCompletionPopup::setRecordUsage(bool newRecordUsage)
mRecordUsage = newRecordUsage;
}
bool CodeCompletionPopup::onlyGlobals() const
{
return mOnlyGlobals;
}
void CodeCompletionPopup::setOnlyGlobals(bool newOnlyGlobals)
{
mOnlyGlobals = newOnlyGlobals;
}
int CodeCompletionPopup::showCount() const
{
return mShowCount;

View File

@ -91,9 +91,6 @@ public:
int showCount() const;
void setShowCount(int newShowCount);
bool onlyGlobals() const;
void setOnlyGlobals(bool newOnlyGlobals);
bool recordUsage() const;
void setRecordUsage(bool newRecordUsage);
@ -158,7 +155,6 @@ private:
PCppParser mParser;
PStatement mCurrentStatement;
int mShowCount;
bool mOnlyGlobals;
bool mRecordUsage;
bool mShowKeywords;
bool mShowCodeSnippets;