Make ConfigureDiveComputerDialog ui a class member

Almost all of our other classes have the ui class as a class member in
the controller code. This switches ConfigureDiveComputerDialog to that
model.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-10-16 01:13:53 +02:00 committed by Dirk Hohndel
parent 3785c76657
commit 5a394aaff6
2 changed files with 187 additions and 189 deletions

View file

@ -3,6 +3,7 @@
#include <QDialog>
#include <QStringListModel>
#include "ui_configuredivecomputerdialog.h"
#include "../libdivecomputer.h"
#include "configuredivecomputer.h"
@ -37,7 +38,7 @@ private slots:
void on_DiveComputerList_currentRowChanged(int currentRow);
private:
Ui::ConfigureDiveComputerDialog *ui;
Ui::ConfigureDiveComputerDialog ui;
QStringList vendorList;
QHash<QString, QStringList> productList;