From d6c664e6c13155e07fadf3b876fe4a62a01a4906 Mon Sep 17 00:00:00 2001 From: ftomei Date: Tue, 12 Dec 2023 15:55:13 +0100 Subject: [PATCH] fix start --- bin/CRITERIA3D/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/CRITERIA3D/main.cpp b/bin/CRITERIA3D/main.cpp index 8df0eed69..27fe9789f 100644 --- a/bin/CRITERIA3D/main.cpp +++ b/bin/CRITERIA3D/main.cpp @@ -34,13 +34,22 @@ int main(int argc, char *argv[]) QApplication myApp(argc, argv); if (! myProject.start(myApp.applicationDirPath())) + { + QMessageBox::information(nullptr, "Error!", myProject.errorString); return -1; + } if (! myProject.loadParameters("parameters.ini")) + { + QMessageBox::information(nullptr, "Error!", myProject.errorString); return -1; + } if (! myProject.loadProject3DSettings()) + { + QMessageBox::information(nullptr, "Error!", myProject.errorString); return -1; + } QNetworkProxyFactory::setUseSystemConfiguration(true);