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
_______________________________________________
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

Reply via email to