Remove `--no-console` from default arguments

The launcher hides the process in a way that hides the console
anyways making the use of this option useless. So it is better
to remove it to avoid any negative side-effects it may have (see
https://github.com/syncthing/syncthing/issues/8248#issuecomment-1404102589).
This commit is contained in:
Martchus 2023-01-25 20:55:57 +01:00
parent 963ee46341
commit 1d333b1e19
1 changed files with 1 additions and 6 deletions

View File

@ -91,12 +91,7 @@ struct SYNCTHINGWIDGETS_EXPORT Launcher {
#else
QStringLiteral("syncthing");
#endif
QString syncthingArgs =
#ifdef PLATFORM_WINDOWS
QStringLiteral("-no-browser -no-console -no-restart -logflags=3");
#else
QStringLiteral("-no-browser -no-restart -logflags=3");
#endif
QString syncthingArgs = QStringLiteral("-no-browser -no-restart -logflags=3");
QHash<QString, ToolParameter> tools;
bool considerForReconnect = false;
bool showButton = false;