From 4e981da9c8ef6ddbde496b7a8cb8a08d95395479 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Thu, 1 Nov 2018 00:37:29 -0400 Subject: [PATCH] Fixed send button initial frame count. Fixed apple specific text counting --- mainwindow.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 8fba626..c1aba8e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -551,7 +551,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, m_manual {&m_network_manager}, m_txFrameCount {0}, m_txTextDirty {false}, - m_previousFreq {0} + m_previousFreq {0}, + m_txFrameCountEstimate {0}, + m_txFrameCount {0} { ui->setupUi(this); @@ -8020,7 +8022,12 @@ void MainWindow::updateTextDisplay(){ } } + +#if __APPLE__ +#define USE_SYNC_FRAME_COUNT 1 +#else #define USE_SYNC_FRAME_COUNT 0 +#endif void MainWindow::refreshTextDisplay(){ qDebug() << "refreshing text display...";