mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-11 01:44:58 -06:00
Allow to set custom suffix to window title
This is to allow users to differentiate qbt instances when there are multiple running. PR #20429. Closes #17905.
This commit is contained in:
@@ -105,6 +105,9 @@ public:
|
||||
bool callMainInstance();
|
||||
const QBtCommandLineParameters &commandLineArgs() const;
|
||||
|
||||
QString instanceName() const override;
|
||||
void setInstanceName(const QString &name) override;
|
||||
|
||||
// FileLogger properties
|
||||
bool isFileLoggerEnabled() const override;
|
||||
void setFileLoggerEnabled(bool value) override;
|
||||
@@ -194,6 +197,7 @@ private:
|
||||
|
||||
QList<QBtCommandLineParameters> m_paramsQueue;
|
||||
|
||||
SettingValue<QString> m_storeInstanceName;
|
||||
SettingValue<bool> m_storeFileLoggerEnabled;
|
||||
SettingValue<bool> m_storeFileLoggerBackup;
|
||||
SettingValue<bool> m_storeFileLoggerDeleteOld;
|
||||
|
||||
Reference in New Issue
Block a user