From ebc4784c4fddeb307f4bc2ab83b4189312f24f3b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 20 Aug 2019 21:49:23 +0900 Subject: 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 --- tdeioslave/media/mediamanager/tdehardwarebackend.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tdeioslave/media/mediamanager/tdehardwarebackend.cpp') 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; -- cgit v1.2.1