From 8a41ab7051c5feffcba83b56cb8d9296d17c5ec8 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Fri, 6 May 2011 12:02:46 +0200 Subject: [PATCH] comment not accurate afaict --- abstractrunner.cpp | 2 -- applet.cpp | 2 -- dataengine.cpp | 2 -- wallpaper.cpp | 2 -- 4 files changed, 8 deletions(-) diff --git a/abstractrunner.cpp b/abstractrunner.cpp index 4a547f42f..198c752d9 100644 --- a/abstractrunner.cpp +++ b/abstractrunner.cpp @@ -465,8 +465,6 @@ void AbstractRunnerPrivate::setupScriptSupport() QString translationsPath = package->filePath("translations"); if (!translationsPath.isEmpty()) { - //FIXME: we should _probably_ use a KComponentData to segregate the applets - // from each other; but I want to get the basics working first :) KGlobal::dirs()->addResourceDir("locale", translationsPath); KGlobal::locale()->insertCatalog(package->metadata().pluginName()); } diff --git a/applet.cpp b/applet.cpp index 0e1fede0a..b6f1f543d 100644 --- a/applet.cpp +++ b/applet.cpp @@ -2686,8 +2686,6 @@ void AppletPrivate::setupScriptSupport() QString translationsPath = package->filePath("translations"); if (!translationsPath.isEmpty()) { - //FIXME: we should _probably_ use a KComponentData to segregate the applets - // from each other; but I want to get the basics working first :) KGlobal::dirs()->addResourceDir("locale", translationsPath); KGlobal::locale()->insertCatalog(package->metadata().pluginName()); } diff --git a/dataengine.cpp b/dataengine.cpp index 7be42f9d3..932df3198 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -743,8 +743,6 @@ void DataEnginePrivate::setupScriptSupport() QString translationsPath = package->filePath("translations"); if (!translationsPath.isEmpty()) { - //FIXME: we should _probably_ use a KComponentData to segregate the applets - // from each other; but I want to get the basics working first :) KGlobal::dirs()->addResourceDir("locale", translationsPath); KGlobal::locale()->insertCatalog(package->metadata().pluginName()); } diff --git a/wallpaper.cpp b/wallpaper.cpp index 34851da45..d369137d8 100644 --- a/wallpaper.cpp +++ b/wallpaper.cpp @@ -537,8 +537,6 @@ void WallpaperPrivate::setupScriptSupport() QString translationsPath = package->filePath("translations"); if (!translationsPath.isEmpty()) { - //FIXME: we should _probably_ use a KComponentData to segregate the applets - // from each other; but I want to get the basics working first :) KGlobal::dirs()->addResourceDir("locale", translationsPath); KGlobal::locale()->insertCatalog(package->metadata().pluginName()); }