From 07556343669e2bd2d4d4811a95071e1df8127ca3 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 6 Aug 2018 23:42:37 -0400 Subject: [PATCH] Directed cache good for 5 minutes --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 094dee6..f4a0721 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -8226,7 +8226,7 @@ bool MainWindow::isRecentOffset(int offset){ bool MainWindow::isDirectedOffset(int offset){ return ( m_rxDirectedCache.contains(offset/10*10) && - m_rxDirectedCache[offset/10*10]->secsTo(QDateTime::currentDateTimeUtc()) < 120 + m_rxDirectedCache[offset/10*10]->secsTo(QDateTime::currentDateTimeUtc()) < 300 ); }