diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-12-03 14:32:00 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-03 10:32:20 -0800 |
commit | a23c3d0bb1a0e103f3dea9f93960992080753156 (patch) | |
tree | b51b17917e45f8cfd3fd40c6306530c24c9ccd7c /desktop-widgets/divepicturewidget.cpp | |
parent | 7e8636d7be3a2de492ab0b62b2ff430044a4d3de (diff) | |
download | subsurface-a23c3d0bb1a0e103f3dea9f93960992080753156.tar.gz |
cleanup: remove unnecessary includes from divepicturewidget.cpp
Also, use finer-grained Qt includes instead of the full QtWidgets
include.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/divepicturewidget.cpp')
-rw-r--r-- | desktop-widgets/divepicturewidget.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/desktop-widgets/divepicturewidget.cpp b/desktop-widgets/divepicturewidget.cpp index 7a9ae2484..53158e12b 100644 --- a/desktop-widgets/divepicturewidget.cpp +++ b/desktop-widgets/divepicturewidget.cpp @@ -1,19 +1,11 @@ // SPDX-License-Identifier: GPL-2.0 #include "desktop-widgets/divepicturewidget.h" -#include "qt-models/divepicturemodel.h" #include "core/metrics.h" -#include "core/dive.h" -#include "core/divelist.h" -#include <unistd.h> -#include <QFuture> -#include <QDir> -#include <QCryptographicHash> -#include <QNetworkAccessManager> -#include <QNetworkReply> -#include "desktop-widgets/mainwindow.h" #include "core/qthelper.h" -#include <QStandardPaths> -#include <QtWidgets> +#include <QDrag> +#include <QMimeData> +#include <QMouseEvent> +#include <QPixmap> DivePictureWidget::DivePictureWidget(QWidget *parent) : QListView(parent) { |