diff options
Diffstat (limited to 'src/core/function/CacheManager.cpp')
-rw-r--r-- | src/core/function/CacheManager.cpp | 4 |
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); |