Line 0
Link Here
|
|
|
1 |
# FIXED: Did not launch when incorrect lock file was found. |
2 |
# https://github.com/gottcode/focuswriter/commit/0c3f463f844af43b9a780955872763c8e33bd001 |
3 |
|
4 |
--- src/qtsingleapplication/qtlocalpeer.cpp.orig 2018-12-11 18:42:05 UTC |
5 |
+++ src/qtsingleapplication/qtlocalpeer.cpp |
6 |
@@ -97,9 +97,7 @@ QtLocalPeer::QtLocalPeer(QObject* parent |
7 |
+ QLatin1String("-lockfile"); |
8 |
lockFile = new QLockFile(lockName); |
9 |
lockFile->setStaleLockTime(0); |
10 |
-#if defined(Q_OS_WIN) |
11 |
lockFile->removeStaleLockFile(); |
12 |
-#endif |
13 |
} |
14 |
|
15 |
|