Fix order of initilization list in MainTab constructor.

Besides being the right thing to do (code reflects reality), it
silences a compiler warning.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2017-12-19 23:05:42 +01:00 committed by Lubomir I. Ivanov
parent 1fee77487b
commit 1c1ca8c1c7

View file

@ -44,9 +44,9 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
cylindersModel(new CylindersModel(this)), cylindersModel(new CylindersModel(this)),
editMode(NONE), editMode(NONE),
copyPaste(false), copyPaste(false),
currentTrip(0),
lastTabSelectedDive(0), lastTabSelectedDive(0),
lastTabSelectedDiveTrip(0) lastTabSelectedDiveTrip(0),
currentTrip(0)
{ {
ui.setupUi(this); ui.setupUi(this);