From 05a9c0a3710951414e0f703dddabfae1e9769b81 Mon Sep 17 00:00:00 2001 From: Vort Date: Sun, 2 Jun 2019 07:35:50 +0300 Subject: [PATCH] Improve precision of master timer --- sdrgui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index fe81630f9..acb8e0958 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -175,6 +175,7 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus())); m_statusTimer.start(1000); + m_masterTimer.setTimerType(Qt::PreciseTimer); m_masterTimer.start(50); splash->showStatusMessage("load settings...", Qt::white);