Adapt to upstream changes

Follows 50084f6b0e

Change-Id: I83a7a9bf491e1b587d26b9058952f23fc0c82f09
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-05-03 17:34:01 +02:00
parent 9e223c6bde
commit 0bffc2bc46

View File

@@ -71,11 +71,12 @@ DashboardSettingsWidget::DashboardSettingsWidget(Mode mode, QWidget *parent)
Form {
m_dashboardUrl,
m_description,
m_token
m_token,
mode == Edit ? normalMargin : noMargin
}
}.attachTo(this, mode == Edit ? WithMargins : WithoutMargins);
}.attachTo(this);
auto checkValidity = [this](){
auto checkValidity = [this] {
bool old = m_valid;
m_valid = isValid();
if (old != m_valid)