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