summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash
diff options
context:
space:
mode:
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) );