From 53f8622a6a4a47a49431bcbb4f63aa09220bb835 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 Oct 2020 14:13:23 +0800 Subject: tdehwmonitor: added Unlock/Lock buttons to LUKS disks. Signed-off-by: Michele Calgaro --- tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp') diff --git a/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp b/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp index 70f49d9ac..9d3da6d08 100644 --- a/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp +++ b/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include @@ -345,6 +344,14 @@ MountHelper::MountHelper() : TDEApplication(), m_mediamanager("kded", "mediamana } } +MountHelper::~MountHelper() +{ + if (m_dialog) + { + delete m_dialog; + } +} + void MountHelper::ejectFinished(TDEProcess *proc) { //If eject failed, report the error stored in m_errorStr -- cgit v1.2.1