Commit 728b397b authored by Stephane Mankowski's avatar Stephane Mankowski

Release Skrooge 2.22.1

parent 9511b74f
......@@ -196,9 +196,15 @@ SKGBudgetPluginWidget::SKGBudgetPluginWidget(QWidget* iParent, SKGDocument* iDoc
connect(ui.kUpBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onUp);
connect(ui.kDownBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onDown);
connect(ui.kBottomBtn, &QToolButton::clicked, this, &SKGBudgetPluginWidget::onBottom);
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
connect(ui.kYearAuto, static_cast<void (QSpinBox::*)(const QString&)>(&QSpinBox::valueChanged), this, [ = ](const QString & text) {
ui.kRemovePrevious->setText(i18nc("Option", "Remove existing budgets for %1", text));
});
#else
connect(ui.kYearAuto, &QSpinBox::textChanged, this, [ = ](const QString & text) {
ui.kRemovePrevious->setText(i18nc("Option", "Remove existing budgets for %1", text));
});
#endif
ui.kYearAuto->setValue(QDate::currentDate().year());
ui.kWidgetSelector->setSelectedMode(0);
......
......@@ -210,7 +210,6 @@ class Releasor(object):
cf = f.read()
f.close()
if self.ubuntuVersions[i] == 'eoan':
print('# make changes for '+self.ubuntuVersions[i])
f = open(os.path.join(self.workdingDir, 'skrooge-'+args.version+'/debian/control'), 'w')
f.write(cf.replace('libqjson-dev, \n', '').replace('libqjson0, ', ''))
......
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