Fixed text count for APPLE
This commit is contained in:
		
							parent
							
								
									4e981da9c8
								
							
						
					
					
						commit
						804605e9e6
					
				| @ -551,9 +551,8 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, | ||||
|   m_manual {&m_network_manager}, | ||||
|   m_txFrameCount {0}, | ||||
|   m_txTextDirty {false}, | ||||
|   m_previousFreq {0}, | ||||
|   m_txFrameCountEstimate {0}, | ||||
|   m_txFrameCount {0} | ||||
|   m_previousFreq {0} | ||||
| { | ||||
|   ui->setupUi(this); | ||||
| 
 | ||||
| @ -8026,7 +8025,7 @@ void MainWindow::updateTextDisplay(){ | ||||
| #if __APPLE__ | ||||
| #define USE_SYNC_FRAME_COUNT 1 | ||||
| #else | ||||
| #define USE_SYNC_FRAME_COUNT 0 | ||||
| #define USE_SYNC_FRAME_COUNT 1 | ||||
| #endif | ||||
| 
 | ||||
| void MainWindow::refreshTextDisplay(){ | ||||
| @ -8038,8 +8037,8 @@ void MainWindow::refreshTextDisplay(){ | ||||
| 
 | ||||
|     QStringList textList; | ||||
|     qDebug() << "frames:"; | ||||
|     foreach(Frame frame, frames){ | ||||
|         auto dt = DecodedText(frame.frame, frame.bits); | ||||
|     foreach(auto frame, frames){ | ||||
|         auto dt = DecodedText(frame.first, frame.second); | ||||
|         qDebug() << "->" << frame << dt.message() << Varicode::frameTypeString(dt.frameType()); | ||||
|         textList.append(dt.message()); | ||||
|     } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jordan Sherer
						Jordan Sherer