diff options
author | Christian Kandeler <[email protected]> | 2019-01-10 09:20:24 +0100 |
---|---|---|
committer | Christian Kandeler <[email protected]> | 2019-01-10 10:01:53 +0000 |
commit | 1dbf1fe5234264dfad41c2eb1a7afeed3622de97 (patch) | |
tree | 07cd2d2eb93f55c080bd225f2ab2dffda8585d5a /src/libs/utils/filesystemwatcher.cpp | |
parent | c6a6c12f052b05762b92775e1f19b546a3788d8e (diff) |
FileSystemWatcher: Prevent slot execution on deleted object
Amends 1f974bdbbf.
Change-Id: I0cdb7a096f8af62c066b6c251ac7755a4cb359a1
Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/libs/utils/filesystemwatcher.cpp')
-rw-r--r-- | src/libs/utils/filesystemwatcher.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/utils/filesystemwatcher.cpp b/src/libs/utils/filesystemwatcher.cpp index af36f31ce8f..45ad77ec58f 100644 --- a/src/libs/utils/filesystemwatcher.cpp +++ b/src/libs/utils/filesystemwatcher.cpp @@ -142,6 +142,7 @@ public: { QObject::connect(Utils::GlobalFileChangeBlocker::instance(), &Utils::GlobalFileChangeBlocker::stateChanged, + q, [this](bool blocked) { autoReloadPostponed(blocked); }); } |