mirror of
https://github.com/vale981/Taevitas
synced 2025-03-05 09:31:42 -05:00
Test show Err.
This commit is contained in:
parent
a1d8c184b9
commit
29d47cc735
1 changed files with 5 additions and 5 deletions
|
@ -185,11 +185,11 @@ void MainWindow::setStatus( STATUS status ) {
|
|||
}
|
||||
|
||||
void MainWindow::showError( QString error ) {
|
||||
QMessageBox errBox;
|
||||
errBox.setParent( this );
|
||||
errBox.critical( 0, "Error", "An Error has occured:\n" + error );
|
||||
errBox.setFixedSize( 500, 200 );
|
||||
errBox.exec();
|
||||
QMessageBox * errBox = new QMessageBox;
|
||||
errBox->setParent( this );
|
||||
errBox->critical( 0, "Error", "An Error has occured:\n" + error );
|
||||
errBox->setFixedSize( 500, 200 );
|
||||
errBox->open( errBox, &QMessageBox::deleteLater );
|
||||
}
|
||||
|
||||
void MainWindow::showError( FlyCapture2::Error error ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue