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:
Chocobo1
2024-02-27 12:41:12 +08:00
committed by GitHub
parent 364bcf73ee
commit 46e8ee50c8
13 changed files with 98 additions and 27 deletions

View File

@@ -61,6 +61,9 @@ class IApplication
public:
virtual ~IApplication() = default;
virtual QString instanceName() const = 0;
virtual void setInstanceName(const QString &name) = 0;
// FileLogger properties
virtual bool isFileLoggerEnabled() const = 0;
virtual void setFileLoggerEnabled(bool value) = 0;