From 7c6e00a43ce3626e0450954ab1234c78048fcb58 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 Aug 2019 14:34:16 +0900 Subject: tdeioslave media: added LOCKED property to Medium class. Signed-off-by: Michele Calgaro --- tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdeioslave/media/mounthelper') diff --git a/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp b/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp index d3fb4ac35..564934667 100644 --- a/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp +++ b/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp @@ -137,7 +137,7 @@ MountHelper::MountHelper() : TDEApplication() TQTimer::singleShot(0, this, TQT_SLOT(error())); return; } - if (!medium.needDecryption()) + if (!medium.needUnlocking()) { m_errorStr = i18n("%1 is already unlocked.").arg(url.prettyURL()); TQTimer::singleShot(0, this, TQT_SLOT(error())); -- cgit v1.2.1