Commit aaf5eb77 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Fix setting of headings for external modules

Because we do not have a KCModuleProxy where we later read the metadata and consequently name from,
we have to do it manually.

BUG: 448672
FIXED-IN: 5.24
parent 072883ae
Pipeline #126018 passed with stage
in 2 minutes and 13 seconds
......@@ -248,6 +248,7 @@ void ModuleView::addModule(MenuItem *item, const QStringList &args)
if (item->isExternalAppModule()) {
auto *externalWidget = new ExternalAppModule(this, KService::Ptr(new KService(item->metaData().metaDataFileName())));
moduleScroll->setWidget(externalWidget);
d->mCustomHeader->setText(item->metaData().name()); // We have to set this manually, BUG: 448672
} else { // It must be a normal module then
auto *moduleProxy = new KCModuleProxy(data, moduleScroll, args);
moduleScroll->setWidget(moduleProxy);
......
Supports Markdown
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