KSycoca unittest: reduce the amount of waiting, if Qt >= 5.8 is used.

Review Request #129734 - Created Dec. 31, 2016 and submitted

Information
David Faure
kservice
master
Reviewers
kdeframeworks
aacid, sengels, vonreth
lastModified() finally returns milliseconds (qtbase commit 494ced1), which
means we don't need to wait a whole second just to detect that a file was
modified.

Not sure about Windows though...

ksycocatest runs much faster now (700 ms instead of 7 s), and still passes

Aleix Pol Gonzalez
David Faure
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 43127546b6b0ff52ae098336114e2febe13e3a5e by David Faure to branch master.
Loading...