mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Fix prefjson::setPreferences() doesn't actually save.
This commit is contained in:
parent
8e1698d563
commit
2707f5205f
37 changed files with 1972 additions and 1763 deletions
|
@ -30,6 +30,7 @@
|
|||
#ifndef APPLICATION_H
|
||||
#define APPLICATION_H
|
||||
|
||||
#include <QPointer>
|
||||
#include <QStringList>
|
||||
#include <QTranslator>
|
||||
|
||||
|
@ -42,6 +43,10 @@ class MainWindow;
|
|||
typedef QtSingleCoreApplication BaseApplication;
|
||||
#endif
|
||||
|
||||
#ifndef DISABLE_WEBUI
|
||||
class WebUI;
|
||||
#endif
|
||||
|
||||
class Application : public BaseApplication
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -69,9 +74,15 @@ private slots:
|
|||
|
||||
private:
|
||||
bool m_running;
|
||||
|
||||
#ifndef DISABLE_GUI
|
||||
QPointer<MainWindow> m_window;
|
||||
#endif
|
||||
|
||||
#ifndef DISABLE_WEBUI
|
||||
QPointer<WebUI> m_webui;
|
||||
#endif
|
||||
|
||||
QTranslator m_qtTranslator;
|
||||
QTranslator m_translator;
|
||||
QStringList m_paramsQueue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue