Commit add5866a authored by Denis Kurz's avatar Denis Kurz
Browse files

Remove unused getter method

Test Plan:
It compiles; projects depending on IncidenceEditor compile, too.
The methods are neither signals nor slots, so they are not used
in a string-based connect. In summary: they are actually not used
anywhere

Reviewers: #kde_pim, dvratil

Reviewed By: #kde_pim, dvratil

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D7550
parent 931ac9fb
......@@ -392,12 +392,6 @@ void EditorItemManager::setIsCounterProposal(bool isCounterProposal)
d->mIsCounterProposal = isCounterProposal;
}
Akonadi::Collection EditorItemManager::collection() const
{
Q_D(const ItemEditor);
return d->mChanger->lastCollectionUsed();
}
ItemEditorUi::~ItemEditorUi()
{
}
......
......@@ -83,12 +83,6 @@ public:
*/
void save();
/**
* Returns the collection where the last item was created.
* Or an invalid collection if none was created.
*/
Akonadi::Collection collection() const;
enum SaveAction {
Create, /**< A new item was created */
Modify, /**< An existing item was modified */
......
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