229b6f2844
(will backport to F11/F10 once it builds here)
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
Index: kioslave/file/file.cpp
|
|
===================================================================
|
|
--- kioslave/file/file.cpp (revision 1008903)
|
|
+++ kioslave/file/file.cpp (revision 1008904)
|
|
@@ -1146,7 +1146,7 @@
|
|
error( KIO::ERR_COULD_NOT_UNMOUNT, i18n("Could not find program \"umount\""));
|
|
return;
|
|
}
|
|
- buffer = umountProg + QFile::encodeName(KShell::quoteArg(_point)) + " 2>" + tmpFileName;
|
|
+ buffer = umountProg + ' ' + QFile::encodeName(KShell::quoteArg(_point)) + " 2>" + tmpFileName;
|
|
system( buffer.constData() );
|
|
#endif /* HAVE_VOLMGT */
|
|
|
|
Index: kio/kio/kautomount.cpp
|
|
===================================================================
|
|
--- kio/kio/kautomount.cpp (revision 1008897)
|
|
+++ kio/kio/kautomount.cpp (revision 1008898)
|
|
@@ -108,7 +108,7 @@
|
|
};
|
|
|
|
KAutoUnmount::KAutoUnmount( const QString & _mountpoint, const QString & _desktopFile )
|
|
- : d( new KAutoUnmountPrivate(this, _desktopFile, _mountpoint) )
|
|
+ : d( new KAutoUnmountPrivate(this, _mountpoint, _desktopFile) )
|
|
{
|
|
KIO::Job * job = KIO::unmount( d->m_mountpoint );
|
|
connect( job, SIGNAL( result( KJob * ) ), this, SLOT( slotResult( KJob * ) ) );
|