summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-28 15:56:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-07-09 10:42:50 +0900
commitf97e24f3c3c4879426255f3170d7f703ddbc268d (patch)
treea4c72be36053d82bb3b246225370afc8ca85b465 /tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp
parent21d09d5b23a8a639ab355b2563ba105bc1994364 (diff)
downloadtdebase-f97e24f3c3c4879426255f3170d7f703ddbc268d.tar.gz
tdebase-f97e24f3c3c4879426255f3170d7f703ddbc268d.zip
Fixed media type for cd rw type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp')
-rw-r--r--tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp b/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp
index f32268855..65b53a0f4 100644
--- a/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp
+++ b/tdeioslave/media/mounthelper/tdeio_media_mounthelper.cpp
@@ -154,11 +154,11 @@ MountHelper::MountHelper() : TDEApplication()
* anyway. Only if both unmount and eject fail, notify the user by
* displaying the saved error message (see ejectFinished()).
*/
+ TQStringVariantMap unmountResult;
if (medium.isMounted())
{
DCOPReply reply = mediamanager.call( "unmount", medium.id());
if (reply.isValid()) {
- TQStringVariantMap unmountResult;
reply.get(unmountResult);
if (unmountResult["result"].toBool()) {
reply.get(m_errorStr);