From 983ade75ae2f488477bbb796f52ce2135c202dfe Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 30 Mar 2013 20:24:24 -0500 Subject: Use TDE hardware library instead of HAL when HAL is not available Clean up spurious build files --- libk3b/core/k3bglobals.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libk3b/core/k3bglobals.cpp') diff --git a/libk3b/core/k3bglobals.cpp b/libk3b/core/k3bglobals.cpp index e072571..29ef523 100644 --- a/libk3b/core/k3bglobals.cpp +++ b/libk3b/core/k3bglobals.cpp @@ -580,11 +580,7 @@ bool K3b::unmount( K3bDevice::Device* dev ) return !p.exitStatus(); } else { -#ifdef HAVE_HAL return !K3bDevice::HalConnection::instance()->unmount( dev ); -#else - return false; -#endif } } @@ -602,10 +598,8 @@ bool K3b::mount( K3bDevice::Device* dev ) return true; #endif -#ifdef HAVE_HAL if( !K3bDevice::HalConnection::instance()->mount( dev ) ) return true; -#endif // now try pmount TQString pmountBin = K3b::findExe( "pmount" ); @@ -622,10 +616,8 @@ bool K3b::mount( K3bDevice::Device* dev ) bool K3b::eject( K3bDevice::Device* dev ) { -#ifdef HAVE_HAL if( !K3bDevice::HalConnection::instance()->eject( dev ) ) return true; -#endif if( K3b::isMounted( dev ) ) K3b::unmount( dev ); -- cgit v1.2.3