fix build
This commit is contained in:
parent
fc147a44ed
commit
bcf0333928
6 changed files with 18 additions and 15 deletions
|
@ -25,7 +25,7 @@ NextcloudAccountDetails::NextcloudAccountDetails(QWidget* parent) : QWidget(pare
|
|||
tr("Here, results of connection test are shown."));
|
||||
|
||||
connect(m_ui.m_spinLimitMessages,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
[=](int value) {
|
||||
if (value <= 0) {
|
||||
|
|
|
@ -34,7 +34,10 @@ StandardAccountDetails::StandardAccountDetails(QWidget* parent) : QWidget(parent
|
|||
.arg(QSL(APP_NAME)),
|
||||
false);
|
||||
|
||||
connect(m_ui.m_spinFeedSpacing, &QSpinBox::valueChanged, this, &StandardAccountDetails::onFeedSpacingChanged);
|
||||
connect(m_ui.m_spinFeedSpacing,
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&StandardAccountDetails::onFeedSpacingChanged);
|
||||
|
||||
onFeedSpacingChanged(m_ui.m_spinFeedSpacing->value());
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ FormDatabaseCleanup::FormDatabaseCleanup(QWidget* parent)
|
|||
GuiUtilities::applyDialogProperties(*this, qApp->icons()->fromTheme(QSL("edit-clear")));
|
||||
|
||||
connect(m_ui->m_spinDays,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&FormDatabaseCleanup::updateDaysSuffix);
|
||||
connect(m_ui->m_btnBox->button(QDialogButtonBox::StandardButton::Ok),
|
||||
|
|
|
@ -33,7 +33,7 @@ NetworkProxyDetails::NetworkProxyDetails(QWidget* parent) : QWidget(parent), m_u
|
|||
connect(m_ui->m_txtProxyPassword, &QLineEdit::textChanged, this, &NetworkProxyDetails::changed);
|
||||
connect(m_ui->m_txtProxyUsername, &QLineEdit::textChanged, this, &NetworkProxyDetails::changed);
|
||||
connect(m_ui->m_spinProxyPort,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&NetworkProxyDetails::changed);
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ SettingsDatabase::SettingsDatabase(Settings* settings, QWidget* parent)
|
|||
connect(m_ui->m_txtMysqlPassword->lineEdit(), &QLineEdit::textChanged, this, &SettingsDatabase::dirtifySettings);
|
||||
connect(m_ui->m_txtMysqlUsername->lineEdit(), &QLineEdit::textChanged, this, &SettingsDatabase::dirtifySettings);
|
||||
connect(m_ui->m_spinMysqlPort,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsDatabase::dirtifySettings);
|
||||
connect(m_ui->m_cmbDatabaseDriver,
|
||||
|
|
|
@ -60,7 +60,7 @@ SettingsFeedsMessages::SettingsFeedsMessages(Settings* settings, QWidget* parent
|
|||
|
||||
connect(m_ui->m_cbShowEnclosuresDirectly, &QCheckBox::toggled, this, &SettingsFeedsMessages::dirtifySettings);
|
||||
connect(m_ui->m_spinHeightImageAttachments,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::dirtifySettings);
|
||||
|
||||
|
@ -87,7 +87,7 @@ SettingsFeedsMessages::SettingsFeedsMessages(Settings* settings, QWidget* parent
|
|||
this,
|
||||
&SettingsFeedsMessages::dirtifySettings);
|
||||
connect(m_ui->m_spinArticleMarkingPolicy,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::dirtifySettings);
|
||||
connect(m_ui->m_gbFeedListFont, &QGroupBox::toggled, this, &SettingsFeedsMessages::dirtifySettings);
|
||||
|
@ -147,34 +147,34 @@ SettingsFeedsMessages::SettingsFeedsMessages(Settings* settings, QWidget* parent
|
|||
&SettingsFeedsMessages::dirtifySettings);
|
||||
|
||||
connect(m_ui->m_spinHeightRowsMessages,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::dirtifySettings);
|
||||
connect(m_ui->m_spinHeightRowsMessages,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::requireRestart);
|
||||
|
||||
connect(m_ui->m_spinHeightRowsFeeds,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::dirtifySettings);
|
||||
connect(m_ui->m_spinHeightRowsFeeds,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::requireRestart);
|
||||
|
||||
connect(m_ui->m_spinPaddingRowsMessages,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::dirtifySettings);
|
||||
connect(m_ui->m_spinPaddingRowsMessages,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::requireRestart);
|
||||
|
||||
connect(m_ui->m_spinRelativeArticleTime,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::dirtifySettings);
|
||||
|
||||
|
@ -184,7 +184,7 @@ SettingsFeedsMessages::SettingsFeedsMessages(Settings* settings, QWidget* parent
|
|||
m_ui->m_spinStartupUpdateDelay,
|
||||
&TimeSpinBox::setEnabled);
|
||||
connect(m_ui->m_spinFeedUpdateTimeout,
|
||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged),
|
||||
QOverload<int>::of(&QSpinBox::valueChanged),
|
||||
this,
|
||||
&SettingsFeedsMessages::dirtifySettings);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue