Remove QVariantList from DataEngine ctor

This commit is contained in:
Sebastian Kügler 2013-07-28 13:06:32 +02:00
parent 8f65a6c349
commit 6aeac53535
2 changed files with 4 additions and 4 deletions

View File

@ -49,9 +49,9 @@
namespace Plasma
{
DataEngine::DataEngine(const KPluginInfo &plugin, QObject *parent, const QVariantList &args)
DataEngine::DataEngine(const KPluginInfo &plugin, QObject *parent)
: QObject(parent),
d(new DataEnginePrivate(this, plugin, args))
d(new DataEnginePrivate(this, plugin))
{
if (d->script) {
d->setupScriptSupport();
@ -64,7 +64,7 @@ DataEngine::DataEngine(const KPluginInfo &plugin, QObject *parent, const QVarian
}
DataEngine::DataEngine(QObject* parent, const QVariantList &args)
: Plasma::DataEngine(KPluginInfo(args), parent, args)
: Plasma::DataEngine(KPluginInfo(args), parent)
{
if (d->script) {
d->setupScriptSupport();

View File

@ -71,7 +71,7 @@ class PLASMA_EXPORT DataEngine : public QObject
* @param parent The parent object.
* @param plugin plugin info that describes the engine
**/
explicit DataEngine(const KPluginInfo &plugin, QObject *parent = 0, const QVariantList &args = QVariantList());
explicit DataEngine(const KPluginInfo &plugin, QObject *parent = 0);
explicit DataEngine(QObject *parent = 0, const QVariantList &args = QVariantList());