Added dialogs when starting/stopping sensors/detection. Fixed nullptr bug on MainWindow::handleEvents

This commit is contained in:
matlabbe
2026-07-03 19:24:45 -07:00
parent d868cffc76
commit 5d74d9e153
5 changed files with 121 additions and 10 deletions
+3
View File
@@ -404,13 +404,16 @@ int main (int argc, char * argv[])
{
printf("The camera is not calibrated! You should calibrate the camera first.\n");
delete camera;
return 1;
}
}
else
{
printf("Failed to initialize the camera! Please select another driver (see \"--help\").\n");
delete camera;
return 1;
}
printf("Exiting cleanly.\n");
return 0;
}