Construct NullEngine with KPluginMetaData()
The deprecated constructor taking a KPluginInfo unconditionally calls toMetaData() and then asserts. BUG: 417548 Differential Revision: https://phabricator.kde.org/D27366
This commit is contained in:
parent
97d431270d
commit
1dc36bc2ce
@ -40,7 +40,7 @@ class NullEngine : public DataEngine
|
||||
{
|
||||
public:
|
||||
explicit NullEngine(QObject *parent = nullptr)
|
||||
: DataEngine(KPluginInfo(), parent)
|
||||
: DataEngine(KPluginMetaData(), parent)
|
||||
{
|
||||
setValid(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user