[libalkimia] [Bug 381517] Online web price update could not be canceled in case of network issues

Ralf Habacker bugzilla_noreply at kde.org
Tue Oct 27 10:15:18 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=381517

--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
In the "native" start mode it is necessary to refactor
AlkOnlineQuote::Private::downloadUrl() so that no local event loop is used.
Instead, it should store the job in the class to be able to process or abort it
later. To handle the cancel request a new slot should be defined, e.g. bool
AlkOnlineQuote::Private::cancelDownload() and in 
AlkOnlineQuotesWidget::Private::slotCheckEntry() the call to setupIcons() must
be moved to a separate slot, which will be called after the download is
finished

Translated with www.DeepL.com/Translator (free version)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list