mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Remove duplicate private sections in class
And group related methods & variables together.
This commit is contained in:
parent
731865427e
commit
0b050e2a30
@ -172,22 +172,20 @@ private:
|
|||||||
bool isWebUiEnabled() const;
|
bool isWebUiEnabled() const;
|
||||||
QString webUiUsername() const;
|
QString webUiUsername() const;
|
||||||
QString webUiPassword() const;
|
QString webUiPassword() const;
|
||||||
|
// WebUI SSL Cert / key
|
||||||
private:
|
|
||||||
bool setSslKey(const QByteArray &key);
|
bool setSslKey(const QByteArray &key);
|
||||||
bool setSslCertificate(const QByteArray &cert);
|
bool setSslCertificate(const QByteArray &cert);
|
||||||
bool schedTimesOk();
|
bool schedTimesOk();
|
||||||
bool webUIAuthenticationOk();
|
bool webUIAuthenticationOk();
|
||||||
|
|
||||||
private:
|
QByteArray m_sslCert, m_sslKey;
|
||||||
|
|
||||||
Ui::OptionsDialog *m_ui;
|
Ui::OptionsDialog *m_ui;
|
||||||
QButtonGroup choiceLanguage;
|
QButtonGroup choiceLanguage;
|
||||||
QAbstractButton *applyButton;
|
QAbstractButton *applyButton;
|
||||||
AdvancedSettings *advancedSettings;
|
AdvancedSettings *advancedSettings;
|
||||||
QList<QString> addedScanDirs;
|
QList<QString> addedScanDirs;
|
||||||
QList<QString> removedScanDirs;
|
QList<QString> removedScanDirs;
|
||||||
// SSL Cert / key
|
|
||||||
QByteArray m_sslCert, m_sslKey;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user