mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
Allow headless builds on Windows
Daemonizing is disabled because no direct equivalent exists in win32.
This commit is contained in:
parent
d7ea9a5f55
commit
c7b451b18f
3 changed files with 42 additions and 24 deletions
|
@ -43,12 +43,12 @@ class QProcessEnvironment;
|
|||
struct QBtCommandLineParameters
|
||||
{
|
||||
bool showHelp, relativeFastresumePaths, portableMode, skipChecking, sequential, firstLastPiecePriority;
|
||||
#ifndef Q_OS_WIN
|
||||
#if !defined(Q_OS_WIN) || defined(DISABLE_GUI)
|
||||
bool showVersion;
|
||||
#endif
|
||||
#ifndef DISABLE_GUI
|
||||
bool noSplash;
|
||||
#else
|
||||
#elif !defined(Q_OS_WIN)
|
||||
bool shouldDaemonize;
|
||||
#endif
|
||||
int webUiPort;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue