From 61357e17b12c5dce647cd7e483628a37dd20d244 Mon Sep 17 00:00:00 2001 From: nowrep Date: Tue, 19 Mar 2013 09:16:57 +0100 Subject: [PATCH] [QtSingleApplication] Delete lockfile upon closing application. Closes #811 --- src/lib/3rdparty/qtlockedfile_unix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/3rdparty/qtlockedfile_unix.cpp b/src/lib/3rdparty/qtlockedfile_unix.cpp index 888c47f4b..6ac74b4dc 100644 --- a/src/lib/3rdparty/qtlockedfile_unix.cpp +++ b/src/lib/3rdparty/qtlockedfile_unix.cpp @@ -123,5 +123,7 @@ QtLockedFile::~QtLockedFile() if (isOpen()) { unlock(); } + + remove(); }