From 0b050e2a303d31783f02abf8e35a13aceff0482f Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Mon, 4 Jun 2018 21:07:55 +0800 Subject: [PATCH] Remove duplicate private sections in class And group related methods & variables together. --- src/gui/optionsdlg.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/gui/optionsdlg.h b/src/gui/optionsdlg.h index 300a705e9..a9ca71217 100644 --- a/src/gui/optionsdlg.h +++ b/src/gui/optionsdlg.h @@ -172,22 +172,20 @@ private: bool isWebUiEnabled() const; QString webUiUsername() const; QString webUiPassword() const; - -private: + // WebUI SSL Cert / key bool setSslKey(const QByteArray &key); bool setSslCertificate(const QByteArray &cert); bool schedTimesOk(); bool webUIAuthenticationOk(); -private: + QByteArray m_sslCert, m_sslKey; + Ui::OptionsDialog *m_ui; QButtonGroup choiceLanguage; QAbstractButton *applyButton; AdvancedSettings *advancedSettings; QList addedScanDirs; QList removedScanDirs; - // SSL Cert / key - QByteArray m_sslCert, m_sslKey; }; #endif