mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
1fee77487b
commit
1c1ca8c1c7
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue