Commit 967f21ac authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Fix fake parser copy and paste error

Summary:
all other cases remove the key they were looking for, this seems to
be a copy and paste error.

Test Plan: tests are not affected.

Reviewers: broulik, davidedmundson

Reviewed By: broulik, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14048
parent bd4fa7d3
......@@ -192,7 +192,7 @@ OutputPtr Parser::outputFromJson(QMap< QString, QVariant > map)
if (map.contains("scale")) {
qDebug() << "Scale found:" << map["scale"].toReal();
output->setScale(map["scale"].toReal());
map.remove(QLatin1Literal("size"));
map.remove(QLatin1Literal("scale"));
}
//Remove some extra properties that we do not want or need special treatment
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment