misc: add destructor for DGioVolumeManagerPrivate class

This commit is contained in:
Gary Wang 2019-10-12 18:08:10 +08:00
parent 4f3994c944
commit daeefc71b4

View File

@ -32,7 +32,9 @@ using namespace Gio;
class DGioVolumeManagerPrivate class DGioVolumeManagerPrivate
{ {
public:
DGioVolumeManagerPrivate(DGioVolumeManager *qq); DGioVolumeManagerPrivate(DGioVolumeManager *qq);
~DGioVolumeManagerPrivate();
private: private:
Glib::RefPtr<VolumeMonitor> m_gmmVolumeMonitorPtr; Glib::RefPtr<VolumeMonitor> m_gmmVolumeMonitorPtr;
@ -76,6 +78,11 @@ DGioVolumeManagerPrivate::DGioVolumeManagerPrivate(DGioVolumeManager *qq)
m_gmmVolumeMonitorPtr->signal_drive_changed().connect(sigc::mem_fun(*this, &DGioVolumeManagerPrivate::slot_driveChanged)); m_gmmVolumeMonitorPtr->signal_drive_changed().connect(sigc::mem_fun(*this, &DGioVolumeManagerPrivate::slot_driveChanged));
} }
DGioVolumeManagerPrivate::~DGioVolumeManagerPrivate()
{
}
void DGioVolumeManagerPrivate::slot_mountAdded(const Glib::RefPtr<Mount> &gmmMount) void DGioVolumeManagerPrivate::slot_mountAdded(const Glib::RefPtr<Mount> &gmmMount)
{ {
Q_Q(DGioVolumeManager); Q_Q(DGioVolumeManager);