mirror of
https://github.com/vale981/Taevitas
synced 2025-03-04 17:11:40 -05:00
Test show Err.
This commit is contained in:
parent
29d47cc735
commit
d19818b75d
1 changed files with 3 additions and 1 deletions
|
@ -189,7 +189,9 @@ 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, &QMessageBox::deleteLater );
|
||||
errBox->open( this, [errBox]( QAbstractButton * ) {
|
||||
errBox->deleteLater();
|
||||
} );
|
||||
}
|
||||
|
||||
void MainWindow::showError( FlyCapture2::Error error ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue