From 4bfc339bacb7f890b2be3ae005d244c7f34c19f2 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Thu, 16 Dec 2021 13:05:11 +0100 Subject: [PATCH] [Information Panel] Remove unused PlacesItemModel --- src/panels/information/informationpanelcontent.cpp | 6 ------ src/panels/information/informationpanelcontent.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/panels/information/informationpanelcontent.cpp b/src/panels/information/informationpanelcontent.cpp index 98c012243..bb5f793cd 100644 --- a/src/panels/information/informationpanelcontent.cpp +++ b/src/panels/information/informationpanelcontent.cpp @@ -23,9 +23,6 @@ #include -#include -#include - #include #include @@ -60,7 +57,6 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) : m_nameLabel(nullptr), m_metaDataWidget(nullptr), m_metaDataArea(nullptr), - m_placesItemModel(nullptr), m_isVideo(false) { parent->installEventFilter(this); @@ -151,8 +147,6 @@ InformationPanelContent::InformationPanelContent(QWidget* parent) : layout->addWidget(m_configureButtons); grabGesture(Qt::TapAndHoldGesture); - - m_placesItemModel = new PlacesItemModel(this); } InformationPanelContent::~InformationPanelContent() diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h index 78fcf3cd0..38383bd41 100644 --- a/src/panels/information/informationpanelcontent.h +++ b/src/panels/information/informationpanelcontent.h @@ -17,7 +17,6 @@ class KFileItemList; class PhononWidget; class PixmapViewer; -class PlacesItemModel; class QPixmap; class QDialogButtonBox; class QString; @@ -151,7 +150,6 @@ private: QLabel* m_configureLabel; QDialogButtonBox* m_configureButtons; - PlacesItemModel* m_placesItemModel; bool m_isVideo; }; -- 2.47.3