diff options
Diffstat (limited to 'tdeioslave/media/libmediacommon/medium.h')
-rw-r--r-- | tdeioslave/media/libmediacommon/medium.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeioslave/media/libmediacommon/medium.h b/tdeioslave/media/libmediacommon/medium.h index 49a7fb980..3c9677c21 100644 --- a/tdeioslave/media/libmediacommon/medium.h +++ b/tdeioslave/media/libmediacommon/medium.h @@ -75,8 +75,8 @@ public: bool softHidden() const { return m_properties[SOFT_HIDDEN] == "true"; }; bool isLocked() const { return m_properties[LOCKED] == "true"; }; - bool needMounting() const; - bool needUnlocking() const; + bool needMounting() const { return isMountable() && !isMounted(); }; + bool needUnlocking() const { return isEncrypted() && isLocked(); } KURL prettyBaseURL() const; TQString prettyLabel() const; |