]> cloud.milkyroute.net Git - dolphin.git/commitdiff
[Information Panel] Remove unused PlacesItemModel
authorKai Uwe Broulik <kde@privat.broulik.de>
Thu, 16 Dec 2021 12:05:11 +0000 (13:05 +0100)
committerKai Uwe Broulik <kde@privat.broulik.de>
Thu, 16 Dec 2021 12:06:51 +0000 (12:06 +0000)
src/panels/information/informationpanelcontent.cpp
src/panels/information/informationpanelcontent.h

index 98c012243752fe98562ee419e84ea784bd6db98f..bb5f793cd4699855b49df464e4988d07e4f8cc24 100644 (file)
@@ -23,9 +23,6 @@
 
 #include <Baloo/FileMetaDataWidget>
 
-#include <panels/places/placesitem.h>
-#include <panels/places/placesitemmodel.h>
-
 #include <Phonon/BackendCapabilities>
 #include <Phonon/MediaObject>
 
@@ -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()
index 78fcf3cd08c6b2e83cc783ae2f196c98cfd4c713..38383bd41c41ec64f5699edad8097de621becbec 100644 (file)
@@ -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;
 };