UI restructure: simplify setup of add and plan mode

Recreate the helper function (which now does something fairly different)
to share the common code between the two modes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-04 07:14:16 -07:00
parent 0cfea5205d
commit 3c4439ee27
2 changed files with 16 additions and 19 deletions

View file

@ -183,7 +183,7 @@ private:
UpdateManager *updateManager;
bool plannerStateClean();
void createFakeDiveForAddAndPlan();
void setupForAddAndPlan(const char *model);
QDialog *survey;
};