Index: migration/kmigratorbase.cpp =================================================================== --- migration/kmigratorbase.cpp +++ migration/kmigratorbase.cpp 2010-03-28 23:43:52.000000000 +0200 @@ -87,12 +87,7 @@ void KMigratorBase::createAgentInstance(const QString& typeId, QObject* receiver, const char* slot) { - const AgentType type = AgentManager::self()->type( typeId ); - if ( !type.isValid() ) { - migrationFailed( i18n("Unable to obtain resource type '%1'.", typeId) ); - return; - } - AgentInstanceCreateJob *job = new AgentInstanceCreateJob( type, this ); + AgentInstanceCreateJob *job = new AgentInstanceCreateJob( typeId, this ); connect( job, SIGNAL( result( KJob* ) ), receiver, slot ); job->start(); }