From 1c1ca8c1c7a85938f41efb6b1ae2fa50a7f778a7 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 19 Dec 2017 23:05:42 +0100 Subject: 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 --- desktop-widgets/tab-widgets/maintab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index c45474e7e..ea78e0264 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -44,9 +44,9 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), cylindersModel(new CylindersModel(this)), editMode(NONE), copyPaste(false), - currentTrip(0), lastTabSelectedDive(0), - lastTabSelectedDiveTrip(0) + lastTabSelectedDiveTrip(0), + currentTrip(0) { ui.setupUi(this); -- cgit v1.2.3-70-g09d2