aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/CacheManager.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-10-25 07:40:43 +0000
committerSaturneric <[email protected]>2023-10-25 07:40:43 +0000
commita23b2fbc707406dec0dd924c089b4285bc7f0010 (patch)
tree7773e4a3e45a26a38735450f065c637e170f202d /src/core/function/CacheManager.cpp
parentfeat: use module instead of integrated code at version checking task (diff)
downloadGpgFrontend-a23b2fbc707406dec0dd924c089b4285bc7f0010.tar.gz
GpgFrontend-a23b2fbc707406dec0dd924c089b4285bc7f0010.zip
feat: use rt listen publish event function in main windows' app version upgrade notification
Diffstat (limited to 'src/core/function/CacheManager.cpp')
-rw-r--r--src/core/function/CacheManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/function/CacheManager.cpp b/src/core/function/CacheManager.cpp
index 1794735a..27133957 100644
--- a/src/core/function/CacheManager.cpp
+++ b/src/core/function/CacheManager.cpp
@@ -36,8 +36,8 @@
#include "spdlog/spdlog.h"
GpgFrontend::CacheManager::CacheManager(int channel)
- : m_timer_(new QTimer(this)),
- SingletonFunctionObject<CacheManager>(channel) {
+ : SingletonFunctionObject<CacheManager>(channel),
+ m_timer_(new QTimer(this)) {
connect(m_timer_, &QTimer::timeout, this, &CacheManager::flush_cache_storage);
m_timer_->start(15000);