diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-08-22 22:03:43 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-08-22 22:09:58 +0200 |
commit | d70d3bb050b2ef8080fa4208eaf7857d2a28b409 (patch) | |
tree | babba600548d5bc533816b2d35a9afe99c9e568b /kdm | |
parent | 57fccb8a96b0c9075bd5a8c30614499e6f536608 (diff) | |
download | tdebase-d70d3bb050b2ef8080fa4208eaf7857d2a28b409.tar.gz tdebase-d70d3bb050b2ef8080fa4208eaf7857d2a28b409.zip |
Disable use of SAK if TSAK is not built
Thanks to Francois Andriot for the patch
This resolves Bug 1180
(cherry picked from commit 8f514540fcb06ca42c2829313b4058e45dda3a53)
Diffstat (limited to 'kdm')
-rw-r--r-- | kdm/kfrontend/kgapp.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kdm/kfrontend/kgapp.cpp b/kdm/kfrontend/kgapp.cpp index fef599488..705efada7 100644 --- a/kdm/kfrontend/kgapp.cpp +++ b/kdm/kfrontend/kgapp.cpp @@ -195,7 +195,11 @@ kg_main( const char *argv0 ) KProcess *dcop = 0; KProcess *kwin = 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"; |