Commit d845225f authored by David Faure's avatar David Faure
Browse files

Use KParts::Part instead of ReadOnlyPart. We are not opening a document, just...

Use KParts::Part instead of ReadOnlyPart. We are not opening a document, just providing a XMLGUI-based plugin.
parent a9e9b502
......@@ -83,7 +83,7 @@ bool KNotesPlugin::isRunningStandalone() const
return mUniqueAppWatcher->isRunningStandalone();
}
KParts::ReadOnlyPart *KNotesPlugin::createPart()
KParts::Part *KNotesPlugin::createPart()
{
return new KNotesPart(this);
}
......
......@@ -63,7 +63,7 @@ public:
void shortcutChanged() override;
protected:
KParts::ReadOnlyPart *createPart() override;
KParts::Part *createPart() override;
private Q_SLOTS:
void slotNewNote();
......
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