Log stale lock files in verbose mode only

Actually do what the comment says is intended. wxLogInfo() and
wxLogVerbose() differ in that only the latter must be explicitly
enabled with --verbose.
This commit is contained in:
Václav Slavík
2020-10-05 17:03:45 +02:00
parent 301e5ec9fe
commit 633165fd13

View File

@@ -298,7 +298,7 @@ bool wxSingleInstanceCheckerImpl::Create(const wxString& name)
// message is that the previous instance of the program
// crashed), don't show it by default, i.e. unless the
// program is running with --verbose command line option.
wxLogInfo(_("Deleted stale lock file '%s'."),
wxLogVerbose(_("Deleted stale lock file '%s'."),
name.c_str());
// retry now