summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/lockprocess.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-02-12 00:17:53 +0900
committerMichele Calgaro <[email protected]>2022-02-14 01:07:37 +0900
commitf9f7aee79eecdb610d71a8f2703de43e90018e5b (patch)
treedbb7075651157c6fad1d0aa027b503c95b5aa2e7 /kdesktop/lock/lockprocess.cpp
parentf1df18afb54fd214430a2eb8416f632ffb8c64d1 (diff)
downloadtdebase-f9f7aee79eecdb610d71a8f2703de43e90018e5b.tar.gz
tdebase-f9f7aee79eecdb610d71a8f2703de43e90018e5b.zip
Removed HAL dependant code.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdesktop/lock/lockprocess.cpp')
-rw-r--r--kdesktop/lock/lockprocess.cpp6
1 files changed, 0 insertions, 6 deletions
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();