Commit e1af19f5 authored by Stephane Mankowski's avatar Stephane Mankowski

Remove warning

parent 2a8b4294
...@@ -196,7 +196,7 @@ SKGBudgetPluginWidget::SKGBudgetPluginWidget(QWidget* iParent, SKGDocument* iDoc ...@@ -196,7 +196,7 @@ SKGBudgetPluginWidget::SKGBudgetPluginWidget(QWidget* iParent, SKGDocument* iDoc
connect(ui.kUpBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onUp); connect(ui.kUpBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onUp);
connect(ui.kDownBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onDown); connect(ui.kDownBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onDown);
connect(ui.kBottomBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onBottom); connect(ui.kBottomBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onBottom);
connect(ui.kYearAuto, static_cast<void (QSpinBox::*)(const QString&)>(&QSpinBox::valueChanged), this, [ = ](const QString & text) { connect(ui.kYearAuto, &QSpinBox::textChanged, this, [ = ](const QString & text) {
ui.kRemovePrevious->setText(i18nc("Option", "Remove existing budgets for %1", text)); ui.kRemovePrevious->setText(i18nc("Option", "Remove existing budgets for %1", text));
}); });
ui.kYearAuto->setValue(QDate::currentDate().year()); ui.kYearAuto->setValue(QDate::currentDate().year());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment