Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2020-04-22 16:37:58 +0300
committerJonathan White <support@dmapps.us>2020-04-27 21:54:57 +0300
commit1a3dc2145dbb6cb618142b99ddb4cab650a61bd1 (patch)
tree265c6763d7e2bbf27036878eccc51c5f6449516f /src/core/FileWatcher.cpp
parent7f98323962f0df87933c4411ab0bd4b32a9eb3d5 (diff)
Stop file checksum compare when stop is called
* When FileWatcher::stop() is called, also stop the timer that checks the file checksum every 30 seconds.
Diffstat (limited to 'src/core/FileWatcher.cpp')
-rw-r--r--src/core/FileWatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/FileWatcher.cpp b/src/core/FileWatcher.cpp
index 0619a3cbf..eab27c214 100644
--- a/src/core/FileWatcher.cpp
+++ b/src/core/FileWatcher.cpp
@@ -87,6 +87,7 @@ void FileWatcher::stop()
}
m_filePath.clear();
m_fileChecksum.clear();
+ m_fileChecksumTimer.stop();
m_fileChangeDelayTimer.stop();
}