diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-10-03 11:54:24 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-03 12:13:15 -0700 |
commit | f0f76056ac3982783ab3dfe94d77ba5d25e19957 (patch) | |
tree | 329586844b768750e2932e90ffb0acf5336f1598 /qt-ui/divecomputermanagementdialog.h | |
parent | ab7d96c96f1a18e2c0e1e684586eac2f47a879dd (diff) | |
download | subsurface-f0f76056ac3982783ab3dfe94d77ba5d25e19957.tar.gz |
Include the ui_*.h headers in the main headers.
This means we can also remove the forward declarations.
This is the first step in removing the memory allocation for the ui
sub-classes. Without the second step, this commit is just making the
compilation time increase for no good reason :-)
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divecomputermanagementdialog.h')
-rw-r--r-- | qt-ui/divecomputermanagementdialog.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qt-ui/divecomputermanagementdialog.h b/qt-ui/divecomputermanagementdialog.h index 72d48cd2a..85b9cb713 100644 --- a/qt-ui/divecomputermanagementdialog.h +++ b/qt-ui/divecomputermanagementdialog.h @@ -1,12 +1,10 @@ #ifndef DIVECOMPUTERMANAGEMENTDIALOG_H #define DIVECOMPUTERMANAGEMENTDIALOG_H #include <QDialog> +#include "ui_divecomputermanagementdialog.h" class QModelIndex; class DiveComputerModel; -namespace Ui{ - class DiveComputerManagementDialog; -}; class DiveComputerManagementDialog : public QDialog{ Q_OBJECT |