From 359ea7551618d553952156a5a010a835197fbf9f Mon Sep 17 00:00:00 2001 From: Boris Barbulovski Date: Sun, 9 Feb 2014 19:49:15 +0100 Subject: maintab.cpp improvements. * Initialize(lazy) MainTab::multiEditEquipmentPlaceholder struct Signed-off-by: Boris Barbulovski Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 103413ac1..0aa683dcb 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -31,6 +31,9 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), editMode(NONE) { ui.setupUi(this); + + memset(&multiEditEquipmentPlaceholder, 0, sizeof(multiEditEquipmentPlaceholder)); + ui.cylinders->setModel(cylindersModel); ui.weights->setModel(weightModel); closeMessage(); -- cgit v1.2.3-70-g09d2