From 050222e9ed39ca94f9b1cb73a8cd78cc79f78a22 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Tue, 30 Oct 2012 18:33:48 +0100 Subject: [PATCH] get rid of dead code --- .../plasmaextracomponentsplugin.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.cpp b/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.cpp index aa01f163c..591ec5459 100644 --- a/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.cpp +++ b/declarativeimports/plasmaextracomponents/plasmaextracomponentsplugin.cpp @@ -39,15 +39,6 @@ void PlasmaExtraComponentsPlugin::initializeEngine(QDeclarativeEngine *engine, c void PlasmaExtraComponentsPlugin::registerTypes(const char *uri) { Q_ASSERT(uri == QLatin1String("org.kde.plasma.extras")); - /* - // Enable when adding touch-specific components - QString componentsPlatform = getenv("KDE_PLASMA_COMPONENTS_PLATFORM"); - if (componentsPlatform.isEmpty()) { - KConfigGroup cg(KSharedConfig::openConfig("kdeclarativerc"), "Components-platform"); - componentsPlatform = cg.readEntry("name", "desktop"); - } - */ - // Register additional types here... qmlRegisterType(uri, 0, 1, "ResourceInstance"); qmlRegisterType(uri, 0, 1, "FallbackComponent"); }