Diffusion Krita ff338de7354f

Possibly fix File Layer loading and comics manager page updating on windows.

Authored by woltherav on Sep 4 2019, 4:02 PM.

Description

Possibly fix File Layer loading and comics manager page updating on windows.

Windows has a pretty slow file system, which means when we check whether
our updated file exists, windows hasn't gotten to renaming it yet, making
Krita think there's no file at all...

So this puts a little bit of a delay in our two checks of whether the file still
exists and needs to be readded to the filesystemwatcher again.

This currently works as expected on Linux, now we need to test if it works
on Windows.

CCBUG:410409
CCBUG:389544

Details

Committed
woltheravSep 4 2019, 4:02 PM
Parents
R37:7bdebbc09b36: Fix memory leak
Branches
Unknown
Tags
Unknown
References
refs/keep-around/ff338de7354fc170645af1a435267d1024546654