From 1a089178fa6b7d19326a1b37d554f2e56c30f6f7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 Aug 2019 20:27:06 +0900 Subject: tdeioslave media: mount/unmount/unlock/lock are only allowed on devices for which those operations make sense. Signed-off-by: Michele Calgaro --- tdeioslave/media/mounthelper/tdeio_media_mounthelper.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tdeioslave/media/mounthelper/tdeio_media_mounthelper.h') diff --git a/tdeioslave/media/mounthelper/tdeio_media_mounthelper.h b/tdeioslave/media/mounthelper/tdeio_media_mounthelper.h index 97df6b7e8..60cdb064d 100644 --- a/tdeioslave/media/mounthelper/tdeio_media_mounthelper.h +++ b/tdeioslave/media/mounthelper/tdeio_media_mounthelper.h @@ -40,7 +40,6 @@ private: const Medium findMedium(const KURL &url); void invokeEject(const TQString &device, bool quiet=false); TQString m_errorStr; - bool m_isCdrom; TQString m_mediumId; Dialog *dialog; @@ -48,7 +47,7 @@ private slots: void slotSendPassword(); void slotCancel(); void ejectFinished(TDEProcess* proc); - void error(); + void errorAndExit(); signals: void signalPasswordError(TQString errorMsg); -- cgit v1.2.3