mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Remove duplicate private sections in class
And group related methods & variables together.
This commit is contained in:
committed by
sledgehammer999
parent
be5ad63e21
commit
7ece484423
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user