diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-04-25 21:31:44 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-04-26 08:24:28 -0700 |
commit | e9dd1b150f3958ae90900456b04ce0688c93d7fe (patch) | |
tree | 6dcb96519515a1d082c39c80345cb67339c045a2 /profile-widget | |
parent | 159dc15f99ce2235b194da627a3a4edaf2bb5ea8 (diff) | |
download | subsurface-e9dd1b150f3958ae90900456b04ce0688c93d7fe.tar.gz |
cleanup: remove unnecessary includes from profilewidget2.cpp
These became unnecessary along the way. "qthelper.hpp" was
included twice and <QtWidget> was to broad and was replaced
by <QMimeData>.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index b980dd739..3557ede83 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -4,7 +4,6 @@ #include "core/event.h" #include "core/subsurface-string.h" #include "core/qthelper.h" -#include "core/picture.h" #include "core/profile.h" #include "core/settings/qPrefDisplay.h" #include "core/settings/qPrefTechnicalDetails.h" @@ -20,20 +19,14 @@ #include "core/pref.h" #include "qt-models/diveplannermodel.h" #include "qt-models/models.h" -#include "qt-models/divepicturemodel.h" // TODO: remove once divepictures have been undo-ified -#include "core/divelist.h" #include "core/errorhelper.h" #ifndef SUBSURFACE_MOBILE #include "desktop-widgets/simplewidgets.h" -#include "desktop-widgets/divepicturewidget.h" -#include "desktop-widgets/mainwindow.h" #include "commands/command.h" -#include "core/qthelper.h" #include "core/gettextfromc.h" #include "core/imagedownloader.h" #endif -#include <libdivecomputer/parser.h> #include <QScrollBar> #include <QtCore/qmath.h> #include <QMessageBox> @@ -41,12 +34,12 @@ #include <QDebug> #include <QWheelEvent> #include <QMenu> +#include <QMimeData> #include <QElapsedTimer> #ifndef QT_NO_DEBUG #include <QTableView> #endif -#include <QtWidgets> #define PP_GRAPHS_ENABLED (prefs.pp_graphs.po2 || prefs.pp_graphs.pn2 || prefs.pp_graphs.phe) |