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

Boudewijn Rempt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kri
                   |                            |ta/dbdf2f2a42b6db2a5d8415bb
                   |                            |f9eb21a6a21a0da8

--- Comment #5 from Boudewijn Rempt <[email protected]> ---
Git commit dbdf2f2a42b6db2a5d8415bbf9eb21a6a21a0da8 by Boudewijn Rempt.
Committed on 28/02/2017 at 14:22.
Pushed by rempt into branch 'master'.

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/dbdf2f2a42b6db2a5d8415bbf9eb21a6a21a0da8

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

Reply via email to