summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-03-10 17:24:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-03-10 17:24:02 +0900
commit7aa9258f19a31fd12da607e64e324e4c503d0cf4 (patch)
treea638bf1149b956e1cb0316c80adfe161c32d9883 /tdm/kfrontend
parentc80e5d45b719cf0a769410ecd90fb0156394d322 (diff)
downloadtdebase-7aa9258f19a31fd12da607e64e324e4c503d0cf4.tar.gz
tdebase-7aa9258f19a31fd12da607e64e324e4c503d0cf4.zip
Fixed use of SAK in lock process when autologin is used in TDM.
This resolves bug 2945. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdm/kfrontend')
-rw-r--r--tdm/kfrontend/kgapp.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp
index 67178cc05..5487269d7 100644
--- a/tdm/kfrontend/kgapp.cpp
+++ b/tdm/kfrontend/kgapp.cpp
@@ -67,8 +67,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include <pwd.h>
-#define TSAK_FIFO_FILE "/tmp/tdesocket-global/tsak"
-
bool argb_visual_available = false;
bool has_twin = false;
bool is_themed = false;
@@ -217,7 +215,6 @@ kg_main( const char *argv0 )
TDEApplication::disableAutoDcopRegistration();
TDECrash::setSafer( true );
- TDEProcess *tsak = 0;
TDEProcess *kbdl = 0;
TDEProcess *ccsm = 0;
TDEProcess *proc = 0;
@@ -230,25 +227,6 @@ kg_main( const char *argv0 )
#else
trinity_desktop_lock_use_sak = false;
#endif
- if (trinity_desktop_lock_use_sak) {
- if (system(KDE_BINDIR "/tsak checkdeps") != 0) {
- trinity_desktop_lock_use_sak = false;
- }
- }
- if (trinity_desktop_lock_use_sak) {
- tsak = new TDEProcess;
- *tsak << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tsak";
- tsak->start(TDEProcess::Block, TDEProcess::AllOutput);
- }
- else {
- remove(TSAK_FIFO_FILE);
- }
- if (tsak) {
- tsak->closeStdin();
- tsak->closeStdout();
- tsak->detach();
- delete tsak;
- }
if (trinity_desktop_synchronize_keyboard_lights &&
TQString(getenv("DISPLAY")).startsWith(":")) {