Commit 24e88113 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Fix leak of Rows in infocontextmanageritem

Pretty straightforward, KeyValueWidget didn't delete its rows.

Reviewed By: ngraham

Differential Revision: https://phabricator.kde.org/D28343
parent e2e90597
......@@ -117,6 +117,11 @@ public:
policy.setHeightForWidth(true);
setSizePolicy(policy);
}
~KeyValueWidget()
{
qDeleteAll(mRows);
mRows.clear();
}
QSize sizeHint() const override
{
......
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