1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 12:51:49 -05:00

Improve precision of master timer

This commit is contained in:
Vort 2019-06-02 07:35:50 +03:00
parent 82f216f696
commit 05a9c0a371

View File

@ -175,6 +175,7 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus())); connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus()));
m_statusTimer.start(1000); m_statusTimer.start(1000);
m_masterTimer.setTimerType(Qt::PreciseTimer);
m_masterTimer.start(50); m_masterTimer.start(50);
splash->showStatusMessage("load settings...", Qt::white); splash->showStatusMessage("load settings...", Qt::white);