summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/apps/embeddedkonsole/main.cpp b/core/apps/embeddedkonsole/main.cpp
index 95adab8..167b009 100644
--- a/core/apps/embeddedkonsole/main.cpp
+++ b/core/apps/embeddedkonsole/main.cpp
@@ -35,18 +35,18 @@ int main(int argc, char* argv[])
35{ 35{
36 if(setuid(getuid()) !=0) qDebug("setuid failed"); 36 if(setuid(getuid()) !=0) qDebug("setuid failed");
37 if(setgid(getgid()) != 0) qDebug("setgid failed"); // drop privileges 37 if(setgid(getgid()) != 0) qDebug("setgid failed"); // drop privileges
38 38
39 QPEApplication a( argc, argv ); 39 QPEApplication a( argc, argv );
40 40
41 QPEApplication::grabKeyboard(); // for CTRL and ALT 41// QPEApplication::grabKeyboard(); // for CTRL and ALT
42 42
43 qDebug("keyboard grabbed"); 43 qDebug("keyboard grabbed");
44#ifdef FAKE_CTRL_AND_ALT 44#ifdef FAKE_CTRL_AND_ALT
45 qDebug("Fake Ctrl and Alt defined"); 45 qDebug("Fake Ctrl and Alt defined");
46// QPEApplication::grabKeyboard(); // for CTRL and ALT 46 QPEApplication::grabKeyboard(); // for CTRL and ALT
47#endif 47#endif
48 48
49 QStrList tmp; 49 QStrList tmp;
50 const char* shell = getenv("SHELL"); 50 const char* shell = getenv("SHELL");
51 if (shell == NULL || *shell == '\0') 51 if (shell == NULL || *shell == '\0')
52 shell = "/bin/sh"; 52 shell = "/bin/sh";