<div>graesslin created this revision.<br />
graesslin added a reviewer: Plasma.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>If both tests cases in the qml file dialog test are run together, there<br />
is a warning:<br />
file:///opt/qt5/qml/QtQuick/Controls/TextField.qml:638:28: Unable to assign [undefined] to QString</p>
<p>This seems to be caused by destroying the QQmlEngine. Thus this change<br />
keeps one QQmlEngine around and also changes the memory management in<br />
other areas. The ownership of a created component is passed to the<br />
caller, thus it needs to be in a QScopedPointer.</p>
<p>Note: this test asserts on build.kde.org. I'm not able to reproduce the<br />
assert locally, but I think it might be related to this warning.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAINTEGRATION Integration for Qt applications in Plasma</div></div></div><br /><div><strong>BRANCH</strong><div><div>autotest-memory-management</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1501" rel="noreferrer">https://phabricator.kde.org/D1501</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/kfiledialogqml_unittest.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, Plasma<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>