D21606: RFC: ThreadWeaver Job Decorators not used properly and have no effect
Fabian Vogt
noreply at phabricator.kde.org
Wed Jun 5 16:09:16 BST 2019
fvogt created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
fvogt requested review of this revision.
REVISION SUMMARY
ThreadWeaver Job Decorators don't actually hook into an existing job.
Instead, they provide the same interface as the job and just pass through
all calls.
The way the QObjectDecorator is used by KRunner results in no signals actually
getting emitted, making most of the code pointless.
This patch is just a quick hack to show what would happen if the jobDone signal
worked and is mostly intended to present the issue.
TEST PLAN
jobDone is called now.
REPOSITORY
R308 KRunner
BRANCH
hack
REVISION DETAIL
https://phabricator.kde.org/D21606
AFFECTED FILES
src/runnerjobs.cpp
To: fvogt
Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190605/3518f789/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list