summaryrefslogtreecommitdiffstats
path: root/src/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r--src/dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index 0344fcb..e13bb81 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -103,6 +103,7 @@ void Dialog::on_treeView_doubleClicked(QModelIndex index)
setenv("PVS_AUTO_CONNECT", "TRUE", 1);
else
setenv("PVS_AUTO_CONNECT", "FALSE", 1);
+ setenv("SESSION_NAME", s->shortDescription().toUtf8(), 1);
// Fork this process twice to detach
pid_t pid = fork();