Remove QVariantList from DataEngine ctor
This commit is contained in:
parent
8f65a6c349
commit
6aeac53535
@ -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();
|
||||
|
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user