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>
This commit is contained in:
Berthold Stoeger 2020-12-03 14:32:00 +01:00 committed by Dirk Hohndel
parent 7e8636d7be
commit a23c3d0bb1

View file

@ -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)
{