Commit 64b85dad authored by Denis Kurz's avatar Denis Kurz
Browse files

Remove obsolete load method

Summary:
The default implementation of load in IncidenceEditor already
does what we did here: nothing.

Test Plan:
Compiles. I also played around with changing some events randomly,
both categories and/or other changes, also this diff should effectively
be a no-op.

Reviewers: #kde_pim, dvratil

Reviewed By: #kde_pim, dvratil

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D7552
parent 8b3d8b1e
......@@ -64,11 +64,6 @@ void IncidenceCategories::load(const KCalCore::Incidence::Ptr &incidence)
}
}
void IncidenceCategories::load(const Akonadi::Item &item)
{
Q_UNUSED(item);
}
void IncidenceCategories::save(const KCalCore::Incidence::Ptr &incidence)
{
Q_ASSERT(incidence);
......
......@@ -35,7 +35,6 @@ public:
explicit IncidenceCategories(Ui::EventOrTodoDesktop *ui);
void load(const KCalCore::Incidence::Ptr &incidence) override;
void load(const Akonadi::Item &item) override;
void save(const KCalCore::Incidence::Ptr &incidence) override;
void save(Akonadi::Item &item) override;
......
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