Commit 59645322 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Revert "Fix compilation after saveDialogSize() signature change"

Akonadi was fixed (reverted it)

Revert ok'ed by David

CCMAIL: faure@kde.org

This reverts commit 477c7247.
parent 477c7247
Pipeline #22451 passed with stage
in 15 minutes and 56 seconds
......@@ -73,7 +73,7 @@ QSize BirthdaysConfigAgentWidget::restoreDialogSize() const
return size;
}
void BirthdaysConfigAgentWidget::saveDialogSize(QSize size)
void BirthdaysConfigAgentWidget::saveDialogSize(const QSize &size)
{
auto group = config()->group(myConfigGroupName);
group.writeEntry("Size", size);
......
......@@ -37,7 +37,7 @@ public:
void load() override;
bool save() const override;
QSize restoreDialogSize() const override;
void saveDialogSize(QSize size) override;
void saveDialogSize(const QSize &size) override;
private:
Ui::BirthdaysConfigWidget ui;
KConfigDialogManager *mManager = nullptr;
......
......@@ -96,7 +96,7 @@ QSize ContactsSettingsWidget::restoreDialogSize() const
return size;
}
void ContactsSettingsWidget::saveDialogSize(QSize size)
void ContactsSettingsWidget::saveDialogSize(const QSize &size)
{
auto group = config()->group(myConfigGroupName);
group.writeEntry("Size", size);
......
......@@ -36,7 +36,7 @@ public:
void load() override;
bool save() const override;
QSize restoreDialogSize() const override;
void saveDialogSize(QSize size) override;
void saveDialogSize(const QSize &size) override;
private:
void validate();
Ui::ContactAgentSettingsWidget ui;
......
......@@ -73,7 +73,7 @@ QSize TomboyNotesConfigWidget::restoreDialogSize() const
return size;
}
void TomboyNotesConfigWidget::saveDialogSize(QSize size)
void TomboyNotesConfigWidget::saveDialogSize(const QSize &size)
{
auto group = config()->group("TomboyNotesConfigWidget");
group.writeEntry("Size", size);
......
......@@ -38,7 +38,7 @@ public:
void load() override;
bool save() const override;
QSize restoreDialogSize() const override;
void saveDialogSize(QSize size) override;
void saveDialogSize(const QSize &size) override;
private:
Ui::TomboyNotesAgentConfigWidget *ui = nullptr;
......
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