This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit 2f79e6994b0d866c595d62292fba5ff751b7769d
Author: Oleksandr Shneyder <o.shney...@phoca-gmbh.de>
Date:   Fri May 27 09:12:51 2022 -0500

    replace <HOME> with user's home dir in exports directories, when exporting 
session default directories.
---
 debian/changelog     | 2 ++
 src/onmainwindow.cpp | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d62e590..b7f0b86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,8 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium
     - Do not show client in broker mode if startet in "hidden" mode.
     - Enable/Disable session view buttons inside of sessions explorer.
     - Add splash screen option when starting in hidden mode.
+    - replace <HOME> with user's home dir in exports directories,
+      when exporting session default directories.
 
   [ Ryan Schmidt ]
   * New upstream version (4.1.2.3):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 4f9e53a..123bb9b 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -9043,6 +9043,7 @@ void ONMainWindow::exportDefaultDirs()
                     }
 #endif
 
+                    tails[0].replace("<HOME>",QDir::homePath());
                     if(!QFile::exists(tails[0]))
                     {
                         x2goDebug<<"Path "<<tails[0]<<" not found";

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to