[X2Go-Dev] X2Go Client mount directory
Alexey Vasilyev
tod at todka.ru
Wed Feb 12 09:13:41 CET 2020
Hello,
I try new client version 4.1.2.2 and found an error that does not allow
mounting home directory if we use variable like $HOME or %HOMEPATH% in
"export" options.
In onmainwindow.cpp in function ONMainWindow::exportDefaultDirs i find this
code -
if(!QFile::exists(tails[0]))
{
x2goDebug<<"Path "<<tails[0]<<" not found";
continue;
}
But function QFile::exists cannot work with variables.
I suggest changing it for something what check tails[0] for ~, $HOME,
%HOMEPATH% and replace it with QDir::homePath()
Regards,
Alexey Vasiliev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20200212/9144bbb1/attachment.html>
More information about the x2go-dev
mailing list