From a90b938a6df685c5e7090b111803673d00e923d7 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 23 Apr 2021 17:18:24 -0400 Subject: [PATCH] Fix a flaw in setting up the map65 .lock and .quit files. --- map65/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp index 769f81427..e2fb1cbd1 100644 --- a/map65/mainwindow.cpp +++ b/map65/mainwindow.cpp @@ -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", });