[kmymoney] [Bug 407494] Stock price updating slow

Thomas Baumgart bugzilla_noreply at kde.org
Sat May 25 15:37:29 BST 2019


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

--- Comment #16 from Thomas Baumgart <tbaumgart at kde.org> ---
Michael & Chris: impressive analysis. This is down on the TLS packets level and
far away from any KMyMoney influence. Besides TLS being in between, there's
also the KIO layer which we make use of here. This is the source code within
KMyMoney that triggers the operation:

    const QUrl dest = QUrl::fromLocalFile(tmpFile);
    KIO::Scheduler::checkSlaveOnHold(true);
    KIO::Job *job = KIO::file_copy(url, dest, -1, KIO::HideProgressInfo);
    connect(job, SIGNAL(result(KJob*)), this, SLOT(downloadResult(KJob*)));

The variable url contains the full URL of the price quote. Once the data is
present, downloadResult is called and that seems to work as the price info is
loaded into KMyMoney.

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


More information about the KMyMoney-devel mailing list