/[packages]/cauldron/kdepim4-runtime/current/SOURCES/kdepim-4.4.1-t1108280-kres-fix-instance-creation.patch
ViewVC logotype

Contents of /cauldron/kdepim4-runtime/current/SOURCES/kdepim-4.4.1-t1108280-kres-fix-instance-creation.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1408 - (show annotations) (download)
Sat Jan 8 23:26:36 2011 UTC (13 years, 3 months ago) by dmorgan
File size: 750 byte(s)
imported package kdepim4-runtime
1 Index: migration/kmigratorbase.cpp
2 ===================================================================
3 --- migration/kmigratorbase.cpp
4 +++ migration/kmigratorbase.cpp 2010-03-28 23:43:52.000000000 +0200
5 @@ -87,12 +87,7 @@
6
7 void KMigratorBase::createAgentInstance(const QString& typeId, QObject* receiver, const char* slot)
8 {
9 - const AgentType type = AgentManager::self()->type( typeId );
10 - if ( !type.isValid() ) {
11 - migrationFailed( i18n("Unable to obtain resource type '%1'.", typeId) );
12 - return;
13 - }
14 - AgentInstanceCreateJob *job = new AgentInstanceCreateJob( type, this );
15 + AgentInstanceCreateJob *job = new AgentInstanceCreateJob( typeId, this );
16 connect( job, SIGNAL( result( KJob* ) ), receiver, slot );
17 job->start();
18 }

  ViewVC Help
Powered by ViewVC 1.1.30