refactor: make ServerConfigDialog::initConnections const
This commit is contained in:
parent
3fc0aaec5e
commit
9f7dbe46ef
2 changed files with 2 additions and 2 deletions
|
|
@ -480,7 +480,7 @@ void ServerConfigDialog::loadFromConfig()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ServerConfigDialog::initConnections()
|
void ServerConfigDialog::initConnections() const
|
||||||
{
|
{
|
||||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, this, &ServerConfigDialog::accept);
|
connect(ui->buttonBox, &QDialogButtonBox::accepted, this, &ServerConfigDialog::accept);
|
||||||
connect(ui->buttonBox, &QDialogButtonBox::rejected, this, &ServerConfigDialog::reject);
|
connect(ui->buttonBox, &QDialogButtonBox::rejected, this, &ServerConfigDialog::reject);
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void loadFromConfig();
|
void loadFromConfig();
|
||||||
void initConnections();
|
void initConnections() const;
|
||||||
std::unique_ptr<Ui::ServerConfigDialog> ui;
|
std::unique_ptr<Ui::ServerConfigDialog> ui;
|
||||||
QString m_message = "";
|
QString m_message = "";
|
||||||
int m_columns;
|
int m_columns;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue