From f0f76056ac3982783ab3dfe94d77ba5d25e19957 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 3 Oct 2013 11:54:24 -0700 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'qt-ui/diveplanner.h') diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index e9fe2051a..7d9bb9188 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -8,10 +8,7 @@ #include #include "dive.h" - -namespace Ui{ - class DivePlanner; -}; +#include "ui_diveplanner.h" class QListView; class QStringListModel; -- cgit v1.2.3-70-g09d2