Browse Source

Remove duplicate private sections in class

And group related methods & variables together.
adaptive-webui-19844
Chocobo1 7 years ago
parent
commit
0b050e2a30
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 8
      src/gui/optionsdlg.h

8
src/gui/optionsdlg.h

@ -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…
Cancel
Save