summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediaimpl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-02-12 00:17:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-02-14 01:07:37 +0900
commitf9f7aee79eecdb610d71a8f2703de43e90018e5b (patch)
treedbb7075651157c6fad1d0aa027b503c95b5aa2e7 /tdeioslave/media/mediaimpl.cpp
parentf1df18afb54fd214430a2eb8416f632ffb8c64d1 (diff)
downloadtdebase-f9f7aee79eecdb610d71a8f2703de43e90018e5b.tar.gz
tdebase-f9f7aee79eecdb610d71a8f2703de43e90018e5b.zip
Removed HAL dependant code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave/media/mediaimpl.cpp')
-rw-r--r--tdeioslave/media/mediaimpl.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tdeioslave/media/mediaimpl.cpp b/tdeioslave/media/mediaimpl.cpp
index ff66375aa..aacbcc5e2 100644
--- a/tdeioslave/media/mediaimpl.cpp
+++ b/tdeioslave/media/mediaimpl.cpp
@@ -230,15 +230,6 @@ bool MediaImpl::ensureMediumMounted(Medium &medium)
return false;
}
-#ifdef COMPILE_HALBACKEND
- if ( medium.isEncrypted() && medium.clearDeviceUdi().isEmpty() )
- {
- m_lastErrorCode = TDEIO::ERR_COULD_NOT_MOUNT;
- m_lastErrorMessage = i18n("The drive is encrypted.");
- return false;
- }
-#endif // COMPILE_HALBACKEND
-
if ( medium.needMounting() )
{
m_lastErrorCode = 0;