5bf50d928d
K3b was created to be a feature-rich and easy to handle CD burning application. It can do many things, such as creating or copying audio, data, video or mixed-mode CDs, CD ripping, and DVD ripping, burning and blanking. ok ian@
26 lines
901 B
Plaintext
26 lines
901 B
Plaintext
$OpenBSD: patch-src_k3bappdevicemanager_cpp,v 1.1.1.1 2008/05/11 22:18:35 jakemsr Exp $
|
|
--- src/k3bappdevicemanager.cpp.orig Fri Nov 2 02:55:34 2007
|
|
+++ src/k3bappdevicemanager.cpp Fri Feb 1 09:15:15 2008
|
|
@@ -185,7 +185,11 @@ void K3bAppDeviceManager::mountDisk()
|
|
if( !K3b::isMounted( currentDevice() ) )
|
|
K3b::mount( currentDevice() );
|
|
|
|
- emit mountFinished( KIO::findDeviceMountPoint( currentDevice()->blockDeviceName() ) );
|
|
+ QString mntDev = currentDevice()->blockDeviceName();
|
|
+#ifdef Q_OS_OPENBSD
|
|
+ mntDev.replace(QRegExp("/dev/rcd"), "/dev/cd");
|
|
+#endif
|
|
+ emit mountFinished( KIO::findDeviceMountPoint( mntDev ) );
|
|
}
|
|
}
|
|
|
|
@@ -213,7 +217,7 @@ void K3bAppDeviceManager::ejectDisk()
|
|
void K3bAppDeviceManager::loadDisk()
|
|
{
|
|
if( currentDevice() )
|
|
- K3bDevice::reload( currentDevice() );
|
|
+ K3bDevice::load( currentDevice() );
|
|
}
|
|
|
|
|