From daeefc71b4c310e502df9671f443c7bf6a7b579e Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sat, 12 Oct 2019 18:08:10 +0800 Subject: [PATCH] misc: add destructor for DGioVolumeManagerPrivate class --- gio-qt/source/dgiovolumemanager.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gio-qt/source/dgiovolumemanager.cpp b/gio-qt/source/dgiovolumemanager.cpp index 439c71c..7ece4db 100644 --- a/gio-qt/source/dgiovolumemanager.cpp +++ b/gio-qt/source/dgiovolumemanager.cpp @@ -32,7 +32,9 @@ using namespace Gio; class DGioVolumeManagerPrivate { +public: DGioVolumeManagerPrivate(DGioVolumeManager *qq); + ~DGioVolumeManagerPrivate(); private: Glib::RefPtr m_gmmVolumeMonitorPtr; @@ -76,6 +78,11 @@ DGioVolumeManagerPrivate::DGioVolumeManagerPrivate(DGioVolumeManager *qq) m_gmmVolumeMonitorPtr->signal_drive_changed().connect(sigc::mem_fun(*this, &DGioVolumeManagerPrivate::slot_driveChanged)); } +DGioVolumeManagerPrivate::~DGioVolumeManagerPrivate() +{ + +} + void DGioVolumeManagerPrivate::slot_mountAdded(const Glib::RefPtr &gmmMount) { Q_Q(DGioVolumeManager);