mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
Allow single app instance per configuration
This commit is contained in:
@@ -74,7 +74,7 @@ class Application : public BaseApplication
|
||||
Q_DISABLE_COPY(Application)
|
||||
|
||||
public:
|
||||
Application(const QString &id, int &argc, char **argv);
|
||||
Application(int &argc, char **argv);
|
||||
~Application() override;
|
||||
|
||||
bool isRunning();
|
||||
@@ -120,7 +120,7 @@ private slots:
|
||||
#endif
|
||||
|
||||
private:
|
||||
ApplicationInstanceManager *m_instanceManager;
|
||||
ApplicationInstanceManager *m_instanceManager = nullptr;
|
||||
bool m_running;
|
||||
ShutdownDialogAction m_shutdownAct;
|
||||
QBtCommandLineParameters m_commandLineArgs;
|
||||
|
||||
Reference in New Issue
Block a user