Skip to content

Commit

Permalink
fix start
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Dec 12, 2023
1 parent 932d0b9 commit d6c664e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bin/CRITERIA3D/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d6c664e

Please sign in to comment.