From f9f7aee79eecdb610d71a8f2703de43e90018e5b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Feb 2022 00:17:53 +0900 Subject: Removed HAL dependant code. Signed-off-by: Michele Calgaro --- kdesktop/lock/lockprocess.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'kdesktop') diff --git a/kdesktop/lock/lockprocess.cpp b/kdesktop/lock/lockprocess.cpp index b2db4a5cf..96955b6de 100644 --- a/kdesktop/lock/lockprocess.cpp +++ b/kdesktop/lock/lockprocess.cpp @@ -2458,13 +2458,7 @@ static int run_vkbd = -1; void LockProcess::showVkbd() { if( run_vkbd == - 1 ) { -#ifdef WITH_HAL - int status = system( "hal-find-by-property --key system.formfactor.subtype --string tabletpc" ); -// status = 0; // enable for testing - run_vkbd = ( WIFEXITED( status ) && WEXITSTATUS( status ) == 0 && !TDEStandardDirs::findExe( "xvkbd" ).isEmpty()) ? 1 : 0; -#else // WITH_HAL run_vkbd = (!TDEStandardDirs::findExe( "xvkbd" ).isEmpty()); -#endif // WITH_HAL } if( run_vkbd ) { mVkbdWindows.clear(); -- cgit v1.2.1