Fix a flaw in setting up the map65 .lock and .quit files.

This commit is contained in:
Joe Taylor 2021-04-23 17:18:24 -04:00
parent b2e54c3c7b
commit a90b938a6d

View File

@ -200,7 +200,7 @@ MainWindow::MainWindow(QWidget *parent) :
readSettings(); //Restore user's setup params
QFile lockFile(m_appDir + "/.lock"); //Create .lock so m65 will wait
lockFile.open(QIODevice::ReadWrite);
QFile quitFile(m_appDir + "/.lock");
QFile quitFile(m_appDir + "/.quit");
quitFile.remove();
proc_m65.start(QDir::toNativeSeparators(m_appDir + "/m65"), {"-s", });