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
2b09a33d78
commit
f5e1f89e03
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ void MainWindow::setStatus( STATUS status ) {
|
|||
}
|
||||
|
||||
void MainWindow::showError( QString error ) {
|
||||
QTimer::singleShot( 0, this, [this, error] {
|
||||
QMetaObject::invokeMethod( this, [this, error] {
|
||||
QMessageBox errBox;
|
||||
errBox.setParent( this );
|
||||
errBox.critical( 0, "Error", "An Error has occured:\n" + error );
|
||||
|
|
Loading…
Add table
Reference in a new issue