Fixing mac version

This commit is contained in:
Michel Mastriani 2020-03-15 15:02:03 -03:00
parent 79f0c09a65
commit 577e4c0fa7

View File

@ -8,9 +8,9 @@
/// </summary>
void ExportUserData()
{
QProcess exec;
exec.setWorkingDirectory(QCoreApplication::applicationDirPath());
exec.start("/bin/sh", QStringList() << "fractorium-sh");
auto exec = new QProcess();
exec->setWorkingDirectory(QCoreApplication::applicationDirPath());
exec->start("/bin/sh", QStringList() << "fractorium-sh");
}
#endif