From 7a3eaee5f872b74c28710006299e233e04f6cf6e Mon Sep 17 00:00:00 2001 From: Hiro Protagonist Date: Tue, 28 Mar 2017 15:42:59 +1300 Subject: [PATCH] typo --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 2fd11ca..820fbea 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -41,7 +41,7 @@ MainWindow::MainWindow( QWidget * parent ) : // Move Recorder into another thread capThread = new QThread(); recorder.moveToThread( capThread ); - connect( capThread, &QThread::finished, t, &QThread::deleteLater ); + connect( capThread, &QThread::finished, capThread, &QThread::deleteLater ); // Initialize Image buffer. image_buffer = new QVector;