summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gehad <gehadelrobey@gmail.com>2014-04-11 10:51:07 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-11 07:21:21 -0700
commitf46e2803ebabb05d5988050660992c2b0b54a8b1 (patch)
treeff98457df3aa2fa11e727f1bbdd13a287bb1e1a0
parentcdf83f5ef6415eb44cc95e993ab38b4b44f03427 (diff)
downloadsubsurface-f46e2803ebabb05d5988050660992c2b0b54a8b1.tar.gz
Remove some unneeded explicit paths in includes
The include path is set up correctly so we don't need these explicit paths in includes. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp10
-rw-r--r--qt-ui/preferences.h4
-rw-r--r--qt-ui/subsurfacewebservices.cpp8
3 files changed, 11 insertions, 11 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 88be2ca23..313a508ab 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -22,11 +22,11 @@
#include "divelistview.h"
#include "starwidget.h"
-#include "../dive.h"
-#include "../display.h"
-#include "../divelist.h"
-#include "../pref.h"
-#include "../helpers.h"
+#include "dive.h"
+#include "display.h"
+#include "divelist.h"
+#include "pref.h"
+#include "helpers.h"
#include "modeldelegates.h"
#include "models.h"
#include "downloadfromdivecomputer.h"
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h
index 5c434ec65..9c384acd6 100644
--- a/qt-ui/preferences.h
+++ b/qt-ui/preferences.h
@@ -2,8 +2,8 @@
#define PREFERENCES_H
#include <QDialog>
-#include "../dive.h"
-#include "../pref.h"
+#include "dive.h"
+#include "pref.h"
#include "ui_preferences.h"
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index a8bce4a72..d6d0debee 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -1,5 +1,5 @@
#include "subsurfacewebservices.h"
-#include "../webservice.h"
+#include "webservice.h"
#include "mainwindow.h"
#include <libxml/parser.h>
#include <zip.h>
@@ -15,9 +15,9 @@
#include <QXmlStreamReader>
#include <qdesktopservices.h>
-#include "../dive.h"
-#include "../divelist.h"
-#include "../display.h"
+#include "dive.h"
+#include "divelist.h"
+#include "display.h"
#ifdef Q_OS_UNIX
#include <unistd.h> // for dup(2)