From 5c4f07129498bad4f0cebf4989d9f04f84673d70 Mon Sep 17 00:00:00 2001 From: Hiro Protagonist Date: Wed, 29 Mar 2017 15:45:23 +1300 Subject: [PATCH] setlcd --- src/mainwindow.cpp | 1 + src/recorder.cpp | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0959f8c..78219e0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -304,6 +304,7 @@ void MainWindow::startStopRecording() { } } + qDebug() << recorder.frameNumber(); // FIXME: Why doesn't that work? setLcd(); setStatus( RECORDING ); diff --git a/src/recorder.cpp b/src/recorder.cpp index d95c79e..fbe1ae6 100644 --- a/src/recorder.cpp +++ b/src/recorder.cpp @@ -53,7 +53,6 @@ void Recorder::newRecording( QString r_name ) { return; } - qDebug() << "here"; bool statExists = QFile( record_dir.path() + "/" + ".stat" ).exists(); // get Status file @@ -63,7 +62,6 @@ void Recorder::newRecording( QString r_name ) { return; } - qDebug() << "here2"; if ( !statExists ) { statFile->write( "0" ); } @@ -71,8 +69,6 @@ void Recorder::newRecording( QString r_name ) { frame_n = 0; time_c = 0; - qDebug() << "here3"; - // If append, figure out Frame count etc... if ( append ) { if ( !restoreRecording() ) { @@ -82,8 +78,6 @@ void Recorder::newRecording( QString r_name ) { time_c = frame_n / options.frameRate; } - qDebug() << frameNumber(); - // open AVI in recorder Error f_err; f_err = recorder.AVIOpen( ( record_dir.path() + "/" + recName + "_" + QString::number( frame_n ) + ".avi" ).toStdString().c_str(), &options );