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 ...@@ -73,7 +73,7 @@ QSize BirthdaysConfigAgentWidget::restoreDialogSize() const
return size; return size;
} }
void BirthdaysConfigAgentWidget::saveDialogSize(QSize size) void BirthdaysConfigAgentWidget::saveDialogSize(const QSize &size)
{ {
auto group = config()->group(myConfigGroupName); auto group = config()->group(myConfigGroupName);
group.writeEntry("Size", size); group.writeEntry("Size", size);
......
...@@ -37,7 +37,7 @@ public: ...@@ -37,7 +37,7 @@ public:
void load() override; void load() override;
bool save() const override; bool save() const override;
QSize restoreDialogSize() const override; QSize restoreDialogSize() const override;
void saveDialogSize(QSize size) override; void saveDialogSize(const QSize &size) override;
private: private:
Ui::BirthdaysConfigWidget ui; Ui::BirthdaysConfigWidget ui;
KConfigDialogManager *mManager = nullptr; KConfigDialogManager *mManager = nullptr;
......
...@@ -96,7 +96,7 @@ QSize ContactsSettingsWidget::restoreDialogSize() const ...@@ -96,7 +96,7 @@ QSize ContactsSettingsWidget::restoreDialogSize() const
return size; return size;
} }
void ContactsSettingsWidget::saveDialogSize(QSize size) void ContactsSettingsWidget::saveDialogSize(const QSize &size)
{ {
auto group = config()->group(myConfigGroupName); auto group = config()->group(myConfigGroupName);
group.writeEntry("Size", size); group.writeEntry("Size", size);
......
...@@ -36,7 +36,7 @@ public: ...@@ -36,7 +36,7 @@ public:
void load() override; void load() override;
bool save() const override; bool save() const override;
QSize restoreDialogSize() const override; QSize restoreDialogSize() const override;
void saveDialogSize(QSize size) override; void saveDialogSize(const QSize &size) override;
private: private:
void validate(); void validate();
Ui::ContactAgentSettingsWidget ui; Ui::ContactAgentSettingsWidget ui;
......
...@@ -73,7 +73,7 @@ QSize TomboyNotesConfigWidget::restoreDialogSize() const ...@@ -73,7 +73,7 @@ QSize TomboyNotesConfigWidget::restoreDialogSize() const
return size; return size;
} }
void TomboyNotesConfigWidget::saveDialogSize(QSize size) void TomboyNotesConfigWidget::saveDialogSize(const QSize &size)
{ {
auto group = config()->group("TomboyNotesConfigWidget"); auto group = config()->group("TomboyNotesConfigWidget");
group.writeEntry("Size", size); group.writeEntry("Size", size);
......
...@@ -38,7 +38,7 @@ public: ...@@ -38,7 +38,7 @@ public:
void load() override; void load() override;
bool save() const override; bool save() const override;
QSize restoreDialogSize() const override; QSize restoreDialogSize() const override;
void saveDialogSize(QSize size) override; void saveDialogSize(const QSize &size) override;
private: private:
Ui::TomboyNotesAgentConfigWidget *ui = nullptr; 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