mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Allow single app instance per configuration
This commit is contained in:
parent
73ee901c45
commit
38e54206d5
4 changed files with 24 additions and 14 deletions
|
@ -42,7 +42,11 @@ class QProcessEnvironment;
|
|||
|
||||
struct QBtCommandLineParameters
|
||||
{
|
||||
bool showHelp, relativeFastresumePaths, skipChecking, sequential, firstLastPiecePriority;
|
||||
bool showHelp;
|
||||
bool relativeFastresumePaths;
|
||||
bool skipChecking;
|
||||
bool sequential;
|
||||
bool firstLastPiecePriority;
|
||||
#if !defined(Q_OS_WIN) || defined(DISABLE_GUI)
|
||||
bool showVersion;
|
||||
#endif
|
||||
|
@ -52,11 +56,16 @@ struct QBtCommandLineParameters
|
|||
bool shouldDaemonize;
|
||||
#endif
|
||||
int webUiPort;
|
||||
TriStateBool addPaused, skipDialog;
|
||||
TriStateBool addPaused;
|
||||
TriStateBool skipDialog;
|
||||
QStringList torrents;
|
||||
QString profileDir, configurationName, savePath, category, unknownParameter;
|
||||
QString profileDir;
|
||||
QString configurationName;
|
||||
QString savePath;
|
||||
QString category;
|
||||
QString unknownParameter;
|
||||
|
||||
explicit QBtCommandLineParameters(const QProcessEnvironment&);
|
||||
explicit QBtCommandLineParameters(const QProcessEnvironment &);
|
||||
QStringList paramList() const;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue