CMake: Simplify reparsing code

This still fixes the parsing issue when switching build configurations,
but the code is simpler.

Change-Id: I5748788224c5b49399550c33bcef592f193cfa8a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-03-31 15:07:58 +02:00
parent c976054fa7
commit 6ea1b07ceb
3 changed files with 10 additions and 15 deletions

View File

@@ -73,7 +73,7 @@ public:
bool isParsing() const;
void parse();
void maybeForceReparse();
void resetData();
bool persistCMakeState();
@@ -93,7 +93,6 @@ protected:
private:
void ctor();
void maybeForceReparse();
QList<ConfigModel::DataItem> completeCMakeConfiguration() const;
void setCurrentCMakeConfiguration(const QList<ConfigModel::DataItem> &items);