get rid of dead code

This commit is contained in:
Aaron Seigo 2012-10-30 18:33:48 +01:00
parent a45a18e810
commit 050222e9ed

View File

@ -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<ResourceInstance>(uri, 0, 1, "ResourceInstance");
qmlRegisterType<FallbackComponent>(uri, 0, 1, "FallbackComponent");
}