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>2019-02-22 23:46:01 +0300
committerJonathan White <support@dmapps.us>2019-02-26 02:09:54 +0300
commit5cf50d9fae914cb87aca3a553cfc268015609934 (patch)
tree14a89ed3cf5c42d37ba11a97151075dee35549c6 /src/core/FileWatcher.cpp
parente8ec45ef9714eec4a623295781d87d9bd9256e6f (diff)
Multiple code improvements
* Fixed unending timer in BulkFileWatcher causing high CPU usage after first save * Fix multiple SIGNAL connections found with GammaRay * Remove horizontal scrollbar from EditWidget due to ghosting (maybe Qt bug)
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 d7056f9c7..64e86c3fa 100644
--- a/src/core/FileWatcher.cpp
+++ b/src/core/FileWatcher.cpp
@@ -123,6 +123,7 @@ BulkFileWatcher::BulkFileWatcher(QObject* parent)
connect(&m_fileWatchUnblockTimer, SIGNAL(timeout()), this, SLOT(observeFileChanges()));
connect(&m_pendingSignalsTimer, SIGNAL(timeout()), this, SLOT(emitSignals()));
m_fileWatchUnblockTimer.setSingleShot(true);
+ m_pendingSignalsTimer.setSingleShot(true);
}
void BulkFileWatcher::clear()