diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-02-08 10:46:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2022-02-08 10:46:00 +0900 |
commit | ce3d9531b62414fd17ccb702809a18810da16de1 (patch) | |
tree | 37db863d7fdc9c5d83b37135c0a633351c2d6a29 /src | |
parent | acefd32da28cd61beb76831c90051a22a2584989 (diff) | |
download | k3b-ce3d9531b62414fd17ccb702809a18810da16de1.tar.gz k3b-ce3d9531b62414fd17ccb702809a18810da16de1.zip |
Removed HAL dependant code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r-- | src/k3bapplication.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/k3bapplication.cpp b/src/k3bapplication.cpp index f3fefb1..f7483da 100644 --- a/src/k3bapplication.cpp +++ b/src/k3bapplication.cpp @@ -29,7 +29,7 @@ #include <k3bcore.h> #include <k3bdevicemanager.h> -#include <k3bhalconnection.h> +#include <k3bconnection.h> #include <k3bexternalbinmanager.h> #include <k3bdefaultexternalprograms.h> #include <k3bglobals.h> @@ -416,8 +416,8 @@ bool K3bApplication::Core::internalBlockDevice( K3bDevice::Device* dev ) m_deviceBlockMap[dev] = mediaCache()->blockDevice( dev ); } - if( K3bDevice::HalConnection::instance()->lock( dev ) != K3bDevice::HalConnection::org_freedesktop_Hal_Success ) - kdDebug() << "(K3bInterferingSystemsHandler) HAL lock failed." << endl; + if( K3bDevice::Connection::instance()->lock( dev ) != K3bDevice::Connection::ErrorCodes::Success ) + kdDebug() << "(K3bInterferingSystemsHandler) lock failed." << endl; // // Check if the device is in use @@ -439,7 +439,7 @@ void K3bApplication::Core::internalUnblockDevice( K3bDevice::Device* dev ) m_deviceBlockMap.erase( dev ); } - K3bDevice::HalConnection::instance()->unlock( dev ); + K3bDevice::Connection::instance()->unlock( dev ); K3bCore::internalUnblockDevice( dev ); } |