diff options
author | Michele Calgaro <[email protected]> | 2022-02-12 00:17:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-02-14 01:07:37 +0900 |
commit | f9f7aee79eecdb610d71a8f2703de43e90018e5b (patch) | |
tree | dbb7075651157c6fad1d0aa027b503c95b5aa2e7 /tdeioslave/media/mediaimpl.cpp | |
parent | f1df18afb54fd214430a2eb8416f632ffb8c64d1 (diff) | |
download | tdebase-f9f7aee79eecdb610d71a8f2703de43e90018e5b.tar.gz tdebase-f9f7aee79eecdb610d71a8f2703de43e90018e5b.zip |
Removed HAL dependant code.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeioslave/media/mediaimpl.cpp')
-rw-r--r-- | tdeioslave/media/mediaimpl.cpp | 9 |
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; |