Commit ecd67f6b 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 7d4da836
......@@ -560,7 +560,7 @@ void MainWindow::addPlugin(KontactInterface::Plugin *plugin)
}
}
void MainWindow::partLoaded(KontactInterface::Plugin *plugin, KParts::ReadOnlyPart *part)
void MainWindow::partLoaded(KontactInterface::Plugin *plugin, KParts::Part *part)
{
Q_UNUSED(plugin);
......
......@@ -98,7 +98,7 @@ private:
void updateShortcuts();
bool removePlugin(const KPluginInfo &);
void addPlugin(KontactInterface::Plugin *plugin);
void partLoaded(KontactInterface::Plugin *plugin, KParts::ReadOnlyPart *part) override;
void partLoaded(KontactInterface::Plugin *plugin, KParts::Part *part) override;
void setupActions();
bool queryClose() override;
void readProperties(const KConfigGroup &config) 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