aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-workspace/files/patch-kioslave_media_mounthelper_kio_media_mounthelper.cpp
blob: 4cb49827612d7cca39504f27006ea1db7861e42b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- kioslave/media/mounthelper/kio_media_mounthelper.cpp.orig	Fri Aug  5 14:26:27 2005
+++ kioslave/media/mounthelper/kio_media_mounthelper.cpp	Fri Aug  5 14:27:25 2005
@@ -79,7 +79,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())
 		{
@@ -93,10 +93,6 @@
 		{
 			invokeEject(device, true);
 		}
-	}
-	else if (args->isSet("e"))
-	{
-		invokeEject(device);
 	}
 	else
 	{