DBG+BRIDGE: moved DbgInitializeLocks to the bridge
This commit is contained in:
parent
4505f9f652
commit
ddc09f5c0b
|
@ -92,6 +92,7 @@ BRIDGE_IMPEXP const char* BridgeStart()
|
|||
return "\"_dbg_dbginit\" || \"_gui_guiinit\" was not loaded yet, call BridgeInit!";
|
||||
int errorLine = 0;
|
||||
BridgeSettingRead(&errorLine);
|
||||
DbgInitializeLocks();
|
||||
_gui_guiinit(0, 0); //remove arguments
|
||||
if(!BridgeSettingFlush())
|
||||
return "Failed to save settings!";
|
||||
|
|
|
@ -45,8 +45,6 @@ static Configuration* mConfiguration;
|
|||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
DbgInitializeLocks();
|
||||
|
||||
MyApplication application(argc, argv);
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
|
||||
QAbstractEventDispatcher::instance(application.thread())->setEventFilter(MyApplication::globalEventFilter);
|
||||
|
|
Loading…
Reference in New Issue