<table><tr><td style="">leinir created this revision.<br />leinir added reviewers: Plasma, ngraham.<br />leinir added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />leinir requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20198">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When installing a new cursor theme from KNewStuff, the current theme would become deselected due to a full refresh of the theme list.</p>

<p>This also introduces a simple convenience helper originally from Discover, which simply runs a function based on a signal being fired, and then deletes itself. This might be useful elsewhere as well, but until the need arises it seems reasonable to leave it here.</p>

<p>BUG:406084</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Install a theme using Get Hot New Stuff, see that after the list refreshes, the current theme is reselected.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20198">https://phabricator.kde.org/D20198</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcms/cursortheme/kcmcursortheme.cpp<br />
kcms/cursortheme/kcmcursortheme.h<br />
kcms/cursortheme/xcursor/thememodel.cpp</div></div></div><br /><div><strong>To: </strong>leinir, Plasma, ngraham<br /><strong>Cc: </strong>plasma-devel, Plasma, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>