diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-10-16 01:13:53 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-16 11:08:18 +0200 |
commit | 5a394aaff633da9df64fe0750b68f2b96bd3699e (patch) | |
tree | 45b17e51d3f4fc50491959aa70351e656af37db6 /qt-ui/configuredivecomputerdialog.h | |
parent | 3785c766573066965f799b2e253a1ef3385cf36b (diff) | |
download | subsurface-5a394aaff633da9df64fe0750b68f2b96bd3699e.tar.gz |
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>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.h')
-rw-r--r-- | qt-ui/configuredivecomputerdialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/configuredivecomputerdialog.h b/qt-ui/configuredivecomputerdialog.h index c6e27735b..f4e364867 100644 --- a/qt-ui/configuredivecomputerdialog.h +++ b/qt-ui/configuredivecomputerdialog.h @@ -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; |