remove another usage of PackageMetadata
This commit is contained in:
parent
b01348aa84
commit
2b771e41ed
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user