D20198: Don't lose list position after installing KNS cursor themes

Dan Leinir Turthra Jensen noreply at phabricator.kde.org
Tue Apr 2 10:54:42 BST 2019


leinir created this revision.
leinir added reviewers: Plasma, ngraham.
leinir added a project: Plasma.
Herald added a subscriber: plasma-devel.
leinir requested review of this revision.

REVISION SUMMARY
  When installing a new cursor theme from KNewStuff, the current theme would become deselected due to a full refresh of the theme list.
  
  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.
  
  BUG:406084

TEST PLAN
  Install a theme using Get Hot New Stuff, see that after the list refreshes, the current theme is reselected.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D20198

AFFECTED FILES
  kcms/cursortheme/kcmcursortheme.cpp
  kcms/cursortheme/kcmcursortheme.h
  kcms/cursortheme/xcursor/thememodel.cpp

To: leinir, #plasma, ngraham
Cc: plasma-devel, #plasma, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190402/593477d1/attachment-0001.html>


More information about the Plasma-devel mailing list