summaryrefslogtreecommitdiffstats
path: root/src/k3bapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/k3bapplication.cpp')
-rw-r--r--src/k3bapplication.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/k3bapplication.cpp b/src/k3bapplication.cpp
index db82043..f3fefb1 100644
--- a/src/k3bapplication.cpp
+++ b/src/k3bapplication.cpp
@@ -416,10 +416,8 @@ bool K3bApplication::Core::internalBlockDevice( K3bDevice::Device* dev )
m_deviceBlockMap[dev] = mediaCache()->blockDevice( dev );
}
-#ifdef HAVE_HAL
if( K3bDevice::HalConnection::instance()->lock( dev ) != K3bDevice::HalConnection::org_freedesktop_Hal_Success )
kdDebug() << "(K3bInterferingSystemsHandler) HAL lock failed." << endl;
-#endif
//
// Check if the device is in use
@@ -441,9 +439,7 @@ void K3bApplication::Core::internalUnblockDevice( K3bDevice::Device* dev )
m_deviceBlockMap.erase( dev );
}
-#ifdef HAVE_HAL
K3bDevice::HalConnection::instance()->unlock( dev );
-#endif
K3bCore::internalUnblockDevice( dev );
}