broulik created this revision. broulik added reviewers: Plasma, fvogt. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. broulik requested review of this revision.
REVISION SUMMARY This is in preparation for allowing for Firefox to suspend download jobs which makes a suspend to as look like a cancellation. TEST PLAN By ignoring a cancel event after suspending a download, I can now pause and unpause properly. However, cancelling while paused obviously doesn't work anymore then. So, this needs further work overall but this patch is a preparation step for that. REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D21476 AFFECTED FILES host/downloadplugin.cpp To: broulik, #plasma, fvogt Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart