Skip to content

Commit

Permalink
FIXED: Did not launch when incorrect lock file was found.
Browse files Browse the repository at this point in the history
  • Loading branch information
gottcode committed Dec 14, 2018
1 parent a7a62c6 commit 0c3f463
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/qtsingleapplication/qtlocalpeer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ QtLocalPeer::QtLocalPeer(QObject* parent, const QString &appId)
+ QLatin1String("-lockfile");
lockFile = new QLockFile(lockName);
lockFile->setStaleLockTime(0);
#if defined(Q_OS_WIN)
lockFile->removeStaleLockFile();
#endif
}


Expand Down

0 comments on commit 0c3f463

Please sign in to comment.