[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/kioslave/media/mounthelper
From: Kévin Ottens <ervin () ipsquad ! net>
Date: 2005-07-15 10:16:48
Message-ID: 1121422608.919486.29911.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 434766 by ervin:
Ok, always unmount before ejecting now. It can't hurt anyway. ;-)
BUG:109121
M +1 -5 kio_media_mounthelper.cpp
--- trunk/KDE/kdebase/kioslave/media/mounthelper/kio_media_mounthelper.cpp #434765:434766
@@ -82,7 +82,7 @@
connect( job, SIGNAL( result( KIO::Job * ) ),
this, SLOT( slotResult( KIO::Job * ) ) );
}
- else if (args->isSet("s"))
+ else if (args->isSet("s") || args->isSet("e"))
{
if (medium.isMounted())
{
@@ -97,10 +97,6 @@
invokeEject(device, true);
}
}
- else if (args->isSet("e"))
- {
- invokeEject(device);
- }
else
{
KIO::Job* job = KIO::mount( false, 0, device, mount_point);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic