diff options
author | Michele Calgaro <[email protected]> | 2019-08-25 14:34:16 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-10-17 10:48:29 +0800 |
commit | 7c6e00a43ce3626e0450954ab1234c78048fcb58 (patch) | |
tree | b732915f07a411b97c02734de6be5f68827e7198 /tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp | |
parent | b54fcda719b94c629c11e9b3462f2c9a2c5a9666 (diff) | |
download | tdebase-7c6e00a43ce3626e0450954ab1234c78048fcb58.tar.gz tdebase-7c6e00a43ce3626e0450954ab1234c78048fcb58.zip |
tdeioslave media: added LOCKED property to Medium class.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp')
-rw-r--r-- | tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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())); |