summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-08-08 14:55:18 -0500
committerTimothy Pearson <[email protected]>2013-08-08 14:55:18 -0500
commit4bd0fd248f15db483f28083899f8bdde5e79ca29 (patch)
tree236773d5d54704fef49cfbc359356b866197bc08 /tdeioslave/trash
parent960cc8392da291eaf6c90d2101b721f6c20488f3 (diff)
downloadtdebase-4bd0fd248f15db483f28083899f8bdde5e79ca29.tar.gz
tdebase-4bd0fd248f15db483f28083899f8bdde5e79ca29.zip
Disable session management in tdeio slaves
This relates to Bug 760
Diffstat (limited to 'tdeioslave/trash')
-rw-r--r--tdeioslave/trash/tdeio_trash.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tdeioslave/trash/tdeio_trash.cpp b/tdeioslave/trash/tdeio_trash.cpp
index 02cda02dd..e8fdec8f5 100644
--- a/tdeioslave/trash/tdeio_trash.cpp
+++ b/tdeioslave/trash/tdeio_trash.cpp
@@ -54,11 +54,10 @@ extern "C" {
{
//TDEInstance instance( "tdeio_trash" );
// TDEApplication is necessary to use tdeio_file
- putenv(strdup("SESSION_MANAGER="));
TDEApplication::disableAutoDcopRegistration();
TDECmdLineArgs::init(argc, argv, "tdeio_trash", 0, 0, 0, 0);
TDECmdLineArgs::addCmdLineOptions( options );
- TDEApplication app( false, false );
+ TDEApplication app( false, false, false );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TrashProtocol slave( args->arg(0), args->arg(1), args->arg(2) );