[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kontact/src
From: David Faure <faure () kde ! org>
Date: 2009-09-29 14:28:57
Message-ID: 1254234537.861904.10885.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1029323 by dfaure:
Port to non-deprecated KService::createInstance, and show errors if any
M +3 -2 mainwindow.cpp
--- trunk/KDE/kdepim/kontact/src/mainwindow.cpp #1029322:1029323
@@ -500,10 +500,11 @@
}
kDebug() << "Loading Plugin:" << it->name();
- plugin = KService::createInstance<KontactInterface::Plugin>( it->service(), this );
+ QString error;
+ plugin = it->service()->createInstance<KontactInterface::Plugin>( this, QVariantList(), &error );
if ( !plugin ) {
- kDebug() << "Unable to create plugin for " << it->name();
+ kDebug() << "Unable to create plugin for" << it->name() << error;
continue;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic