call addContainment with proper paramenters
This commit is contained in:
parent
b1348627a0
commit
0e013db633
@ -301,7 +301,7 @@ KSharedConfigPtr Corona::config() const
|
|||||||
Containment *Corona::createContainment(const QString &name, const QVariantList &args)
|
Containment *Corona::createContainment(const QString &name, const QVariantList &args)
|
||||||
{
|
{
|
||||||
if (d->immutability == Types::Mutable || args.contains(QVariant::fromValue(QStringLiteral("org.kde.plasma:force-create")))) {
|
if (d->immutability == Types::Mutable || args.contains(QVariant::fromValue(QStringLiteral("org.kde.plasma:force-create")))) {
|
||||||
return d->addContainment(name, args, -1, false);
|
return d->addContainment(name, args, 0, -1, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user