Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

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
......
Markdown is supported
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