Commit 59b742e0 authored by David Faure's avatar David Faure
Browse files

Skip touching xmlfiles if pluginName is empty.

This fixes a xmlgui warning about "default-.rc" and makes the "configure
summaryview" action work again.
parent 1b2def5c
......@@ -310,6 +310,9 @@ void Plugin::Private::removeInvisibleToolbarActions(Plugin *plugin)
void Plugin::Private::setXmlFiles()
if (pluginName.isEmpty()) {
const QString newAppFile =
QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QLatin1String("/kontact/default-") + QLatin1String(pluginName) + QLatin1String(".rc");
const QString localFile =
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