D18262: Ensure only one allInitialised emission

Dan Leinir Turthra Jensen noreply at phabricator.kde.org
Tue Jan 15 13:05:04 GMT 2019


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

REVISION SUMMARY
  To ensure we only have one allInitialized emission (at least just one per run of the event handler), swap out the singleshot inline timer for a proper QTimer instance. Also, use this timer elsewhere the emission was previously done, just in case, and for the sake of consistency.

REPOSITORY
  R134 Discover Software Store

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

AFFECTED FILES
  libdiscover/resources/ResourcesModel.cpp
  libdiscover/resources/ResourcesModel.h

To: leinir, apol, ngraham, #discover_software_store
Cc: plasma-devel, jraleigh, bam, GB_2, ragreen, ixoos, 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/20190115/695e9cee/attachment.html>


More information about the Plasma-devel mailing list