ui/qt/toolkit.cpp

changeset 1146
35e098a663a7
parent 1109
1dd32226aa9f
equal deleted inserted replaced
1145:57cc5fc047f3 1146:35e098a663a7
45 static int app_argc; 45 static int app_argc;
46 static char **app_argv; 46 static char **app_argv;
47 static QApplication *application = NULL; 47 static QApplication *application = NULL;
48 48
49 static UiBool exit_on_shutdown; 49 static UiBool exit_on_shutdown;
50
51 // NOOP on most platforms, expect macos
52 extern "C" UIEXPORT void ui_set_main_thread_error_msg(const char *msg) {}
50 53
51 void ui_init(const char *appname, int argc, char **argv) { 54 void ui_init(const char *appname, int argc, char **argv) {
52 application_name = appname ? strdup(appname) : NULL; 55 application_name = appname ? strdup(appname) : NULL;
53 56
54 app_argc = argc; 57 app_argc = argc;

mercurial