From a23c3d0bb1a0e103f3dea9f93960992080753156 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 3 Dec 2020 14:32:00 +0100 Subject: [PATCH] cleanup: remove unnecessary includes from divepicturewidget.cpp Also, use finer-grained Qt includes instead of the full QtWidgets include. Signed-off-by: Berthold Stoeger --- desktop-widgets/divepicturewidget.cpp | 16 ++++------------ 1 file 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 -#include -#include -#include -#include -#include -#include "desktop-widgets/mainwindow.h" #include "core/qthelper.h" -#include -#include +#include +#include +#include +#include DivePictureWidget::DivePictureWidget(QWidget *parent) : QListView(parent) {