summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-08-20 21:49:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-10-17 10:48:28 +0800
commitebc4784c4fddeb307f4bc2ab83b4189312f24f3b (patch)
treebcf13c95f8b2b2e04d769194cd9e6f704c4aa8d3 /tdeioslave/media/mediamanager
parent6c48adfd2e2296a084567252592c8b73b22b69f7 (diff)
downloadtdebase-ebc4784c4fddeb307f4bc2ab83b4189312f24f3b.tar.gz
tdebase-ebc4784c4fddeb307f4bc2ab83b4189312f24f3b.zip
tdeioslave media: fixed update of mime type on encrypted CD/DVD devices caused by missing
udev events. Note: not sure if the bug was only specific to VirtualBox "iso" CD/DVD or general for any CD/DVD. In any case this fix is required if using LUKS encrytped .iso files with TDE running inside VirtualBox. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave/media/mediamanager')
-rw-r--r--tdeioslave/media/mediamanager/tdehardwarebackend.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tdeioslave/media/mediamanager/tdehardwarebackend.cpp b/tdeioslave/media/mediamanager/tdehardwarebackend.cpp
index bcc46743f..45c58081d 100644
--- a/tdeioslave/media/mediamanager/tdehardwarebackend.cpp
+++ b/tdeioslave/media/mediamanager/tdehardwarebackend.cpp
@@ -1409,6 +1409,7 @@ TQStringVariantMap TDEBackend::unlock(const TQString &id, const TQString &passwo
}
}
+ ResetProperties(sdevice, false, true);
result["result"] = unlockResult["unlockedDevice"];
result["result"] = true;
return result;