1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Remove duplicate private sections in class

And group related methods & variables together.
This commit is contained in:
Chocobo1 2018-06-04 21:07:55 +08:00
parent 731865427e
commit 0b050e2a30
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -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