diff --git a/Source/Fractorium/Main.cpp b/Source/Fractorium/Main.cpp index b5dc392..8988a87 100644 --- a/Source/Fractorium/Main.cpp +++ b/Source/Fractorium/Main.cpp @@ -8,9 +8,9 @@ /// 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