summaryrefslogtreecommitdiffstats
path: root/qt-models/models.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-05-29 14:19:56 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-29 14:13:44 -0700
commit37bd82f623ae2fc89a53d8193e7a308b7a2910c3 (patch)
tree22b961c0cf3b7c2a643e25fb08e2b7fc98e017c3 /qt-models/models.cpp
parent33918e686765ac97da006c751c8919ef59cfa65a (diff)
downloadsubsurface-37bd82f623ae2fc89a53d8193e7a308b7a2910c3.tar.gz
Fewer rebuilds triggered by changes in models.h
Models.h now is quite minimal, I'll keep it like that for now, until it grows huge again. I've also cleaned a bit the headers that are using it so only the ones that actually need the stuff that I've left behind will actually include this file. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/models.cpp')
-rw-r--r--qt-models/models.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/qt-models/models.cpp b/qt-models/models.cpp
index 5fa45c4f0..fa046ff3f 100644
--- a/qt-models/models.cpp
+++ b/qt-models/models.cpp
@@ -5,30 +5,10 @@
*
*/
#include "models.h"
-#include "diveplanner.h"
-#include "mainwindow.h"
#include "helpers.h"
-#include "dive.h"
-#include "device.h"
-#include "statistics.h"
-#include "qthelper.h"
-#include "gettextfromc.h"
-#include "display.h"
-#include "color.h"
-#include "divetripmodel.h"
-#include "cleanertablemodel.h"
-#include "weigthsysteminfomodel.h"
-#include <QCoreApplication>
-#include <QDebug>
-#include <QDir>
+#include <QLocale>
#include <QSettings>
-#include <QColor>
-#include <QBrush>
-#include <QFont>
-#include <QIcon>
-#include <QMessageBox>
-#include <QStringListModel>
// initialize the trash icon if necessary