Commit 277379b6 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 2cacc190
......@@ -87,9 +87,9 @@ OrgKdeAkregatorPartInterface *AkregatorPlugin::interface()
return m_interface;
}
KParts::ReadOnlyPart *AkregatorPlugin::createPart()
KParts::Part *AkregatorPlugin::createPart()
{
KParts::ReadOnlyPart *part = loadPart();
KParts::Part *part = loadPart();
if (!part) {
return nullptr;
}
......
......@@ -66,7 +66,7 @@ public:
void saveProperties(KConfigGroup &config) override;
protected:
KParts::ReadOnlyPart *createPart() override;
KParts::Part *createPart() override;
KontactInterface::UniqueAppWatcher *mUniqueAppWatcher = nullptr;
OrgKdeAkregatorPartInterface *m_interface = 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