<div dir="ltr">
<div>Hello, <br></div><div>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. <br></div><div>In onmainwindow.cpp in function ONMainWindow::exportDefaultDirs i find this code - <br></div><div> if(!QFile::exists(tails[0]))<br> {<br> x2goDebug<<"Path "<<tails[0]<<" not found";<br> continue;<br> }</div><div><br></div><div>But function QFile::exists cannot work with variables.</div><div>I suggest changing it for something what check tails[0] for ~, $HOME, %HOMEPATH% and replace it with QDir::homePath() </div><div><br></div><div>Regards,</div><div>Alexey Vasiliev</div><div class="gmail-adL"><br></div>
</div>