diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 2e1158c..1df4627 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -189,7 +189,7 @@ void MainWindow::showError( QString error ) { errBox->setParent( this ); errBox->critical( 0, "Error", "An Error has occured:\n" + error ); errBox->setFixedSize( 500, 200 ); - errBox->open( errBox, SLOT( errBox->deleteLater() ) ); + errBox->open( errBox, SLOT( deleteLater() ) ); } void MainWindow::showError( FlyCapture2::Error error ) {