| 9 | using namespace Star; |
| 10 | |
| 11 | int main(int argc, char** argv) { |
| 12 | QApplication app(argc, argv); |
| 13 | |
| 14 | if (!SteamAPI_Init()) { |
| 15 | QMessageBox::critical(nullptr, "Error", "Could not initialize Steam API"); |
| 16 | return 1; |
| 17 | } |
| 18 | |
| 19 | ModUploader modUploader; |
| 20 | modUploader.show(); |
| 21 | |
| 22 | try { |
| 23 | return app.exec(); |
| 24 | } catch (std::exception const& e) { |
| 25 | QMessageBox::critical(nullptr, "Error", toQString(strf("Exception caught: {}\n", outputException(e, true)))); |
| 26 | coutf("Exception caught: {}\n", outputException(e, true)); |
| 27 | return 1; |
| 28 | } |
| 29 | } |
nothing calls this directly
no test coverage detected