remove another usage of PackageMetadata

This commit is contained in:
Aaron Seigo 2011-05-31 00:06:12 +02:00
parent b01348aa84
commit 2b771e41ed

View File

@ -2729,7 +2729,7 @@ void AppletPrivate::setupScriptSupport()
QString translationsPath = package->filePath("translations");
if (!translationsPath.isEmpty()) {
KGlobal::dirs()->addResourceDir("locale", translationsPath);
KGlobal::locale()->insertCatalog(package->metadata().pluginName());
KGlobal::locale()->insertCatalog(appletDescription.pluginName());
}
QString xmlPath = package->filePath("mainconfigxml");