refactor: make ServerConfigDialog::initConnections const

This commit is contained in:
sithlord48 2026-06-18 19:25:33 -04:00 committed by Chris Rizzitello
parent 3fc0aaec5e
commit 9f7dbe46ef
2 changed files with 2 additions and 2 deletions

View file

@ -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::rejected, this, &ServerConfigDialog::reject);

View file

@ -97,7 +97,7 @@ protected:
private:
void loadFromConfig();
void initConnections();
void initConnections() const;
std::unique_ptr<Ui::ServerConfigDialog> ui;
QString m_message = "";
int m_columns;