don't call a ctor from another
this should work with stricter compiler options
This commit is contained in:
parent
d1a3f07bce
commit
d654c68713
@ -62,7 +62,8 @@ DataEngine::DataEngine(const KPluginInfo &plugin, QObject *parent)
|
||||
}
|
||||
|
||||
DataEngine::DataEngine(QObject* parent, const QVariantList &args)
|
||||
: Plasma::DataEngine(KPluginInfo(args), parent)
|
||||
: QObject(parent),
|
||||
d(new DataEnginePrivate(this, KPluginInfo(args)))
|
||||
{
|
||||
if (d->script) {
|
||||
d->setupScriptSupport();
|
||||
|
Loading…
x
Reference in New Issue
Block a user