Commit b8a3619e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix crash

parent b3eb69d8
Pipeline #171628 passed with stage
in 2 minutes and 24 seconds
......@@ -55,7 +55,9 @@ public:
}
#else
downloadThemesAction = new KNSWidgets::Action(i18n("Download new Templates..."), QString(), q);
menu->addAction(downloadThemesAction);
if (actionCollection) {
actionCollection->addAction(QStringLiteral("download_header_themes"), downloadThemesAction);
}
#endif
separatorAction = new QAction(q);
separatorAction->setSeparator(true);
......
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