From 03b775fe0c65aeee662986eeb10453c7affec1c1 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Tue, 31 May 2011 00:09:07 +0200 Subject: [PATCH] --PackageMetadata --- dataengine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataengine.cpp b/dataengine.cpp index d1757ef7e..5a26d8e38 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -741,10 +741,10 @@ void DataEnginePrivate::setupScriptSupport() << ", main script is" << package->filePath("mainscript"); */ - QString translationsPath = package->filePath("translations"); + const QString translationsPath = package->filePath("translations"); if (!translationsPath.isEmpty()) { KGlobal::dirs()->addResourceDir("locale", translationsPath); - KGlobal::locale()->insertCatalog(package->metadata().pluginName()); + KGlobal::locale()->insertCatalog(dataEngineDescription.pluginName()); } }