Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 71a1ba02 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Don't use the bundle name as a tag

For some reason, it's broken, and it's not worth trying to fix it,
since people didn't like it anyway.

BUG:394345
parent 8fff40a2
......@@ -460,7 +460,7 @@ bool KisResourceBundle::install()
Q_FOREACH (const QString &tag, ref.tagList) {
gradientServer->addTag(res, tag);
}
gradientServer->addTag(res, name());
//gradientServer->addTag(res, name());
}
else {
//warnKrita << "Didn't install" << res->name()<<"It already exists on the server";
......@@ -504,7 +504,7 @@ bool KisResourceBundle::install()
Q_FOREACH (const QString &tag, ref.tagList) {
patternServer->addTag(res, tag);
}
patternServer->addTag(res, name());
//patternServer->addTag(res, name());
}
}
......@@ -554,7 +554,7 @@ bool KisResourceBundle::install()
Q_FOREACH (const QString &tag, ref.tagList) {
brushServer->addTag(res.data(), tag);
}
brushServer->addTag(res.data(), name());
//brushServer->addTag(res.data(), name());
}
else {
//warnKrita << "Didn't install" << res->name()<<"It already exists on the server";
......@@ -599,7 +599,7 @@ bool KisResourceBundle::install()
Q_FOREACH (const QString &tag, ref.tagList) {
paletteServer->addTag(res, tag);
}
paletteServer->addTag(res, name());
//paletteServer->addTag(res, name());
}
else {
//warnKrita << "Didn't install" << res->name()<<"It already exists on the server";
......@@ -643,7 +643,7 @@ bool KisResourceBundle::install()
Q_FOREACH (const QString &tag, ref.tagList) {
workspaceServer->addTag(res, tag);
}
workspaceServer->addTag(res, name());
//workspaceServer->addTag(res, name());
}
else {
//warnKrita << "Didn't install" << res->name()<<"It already exists on the server";
......@@ -692,7 +692,7 @@ bool KisResourceBundle::install()
Q_FOREACH (const QString &tag, ref.tagList) {
paintoppresetServer->addTag(res.data(), tag);
}
paintoppresetServer->addTag(res.data(), name());
//paintoppresetServer->addTag(res.data(), name());
}
else {
//warnKrita << "Didn't install" << res->name()<<"It already exists on the server";
......@@ -722,7 +722,7 @@ bool KisResourceBundle::uninstall()
m_installed = false;
QStringList tags = getTagsList();
tags << m_manifest.tags();
tags << name();
//tags << name();
KoResourceServer<KoAbstractGradient>* gradientServer = KoResourceServerProvider::instance()->gradientServer();
//Q_FOREACH (const KisResourceBundleManifest::ResourceReference &ref, m_manifest.files("gradients")) {
......
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