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

Boudewijn Rempt <b...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/kri |https://commits.kde.org/kri
                   |ta/dbdf2f2a42b6db2a5d8415bb |ta/f70b9905f5d7b31563452970
                   |f9eb21a6a21a0da8            |c5cbae9995dbdbfd

--- Comment #6 from Boudewijn Rempt <b...@valdyas.org> ---
Git commit f70b9905f5d7b31563452970c5cbae9995dbdbfd by Boudewijn Rempt.
Committed on 28/02/2017 at 14:24.
Pushed by rempt into branch 'krita/3.1'.

QFileSystemWatcher cannot be deleted in a different thread from
where it was created. That did happen when a file layer was deleted
after converting it to a paint layer when the undo command was
pushed off the stack.

This change creates a single static QFileSystemWatcher that all
file layers connect to. fileChanged checks that the changed file
is the right one before setting the fileChanged flag.

M  +16   -11   libs/ui/kis_safe_document_loader.cpp
M  +1    -2    libs/ui/kis_safe_document_loader.h

https://commits.kde.org/krita/f70b9905f5d7b31563452970c5cbae9995dbdbfd

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to