mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:40:05 +00:00
Update most instances of current time to use a time offset
This commit is contained in:
parent
e0a4dee72b
commit
bd27d0e562
19 changed files with 48 additions and 38 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <scwx/qt/types/qt_types.hpp>
|
||||
#include <scwx/util/logger.hpp>
|
||||
#include <scwx/util/threads.hpp>
|
||||
#include <scwx/util/time.hpp>
|
||||
|
||||
#include <chrono>
|
||||
#include <mutex>
|
||||
|
|
@ -67,7 +68,7 @@ bool AlertProxyModel::filterAcceptsRow(int sourceRow,
|
|||
.value<std::chrono::system_clock::time_point>();
|
||||
|
||||
// Compare end time to current
|
||||
if (endTime < std::chrono::system_clock::now())
|
||||
if (endTime < scwx::util::time::now())
|
||||
{
|
||||
acceptAlertActiveFilter = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue