summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/kgapp.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-08-22 22:03:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-08-22 22:03:43 +0200
commit8f514540fcb06ca42c2829313b4058e45dda3a53 (patch)
tree6e07e7131d3c269bb2b2403c7828307b4f0c81dc /tdm/kfrontend/kgapp.cpp
parent02f53174686c1690c576f09f08e0936dc1f94ff5 (diff)
downloadtdebase-8f514540fcb06ca42c2829313b4058e45dda3a53.tar.gz
tdebase-8f514540fcb06ca42c2829313b4058e45dda3a53.zip
Disable use of SAK if TSAK is not built
Thanks to Francois Andriot for the patch This resolves Bug 1180
Diffstat (limited to 'tdm/kfrontend/kgapp.cpp')
-rw-r--r--tdm/kfrontend/kgapp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp
index 41d781d3c..43fbe9ec2 100644
--- a/tdm/kfrontend/kgapp.cpp
+++ b/tdm/kfrontend/kgapp.cpp
@@ -195,7 +195,11 @@ kg_main( const char *argv0 )
KProcess *dcop = 0;
KProcess *twin = 0;
+#ifdef BUILD_TSAK
trinity_desktop_lock_use_sak = _useSAK;
+#else
+ trinity_desktop_lock_use_sak = false;
+#endif
if (trinity_desktop_lock_use_sak) {
tsak = new KProcess;
*tsak << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tsak";