This commit is contained in:
parent
19d4955538
commit
41c5d71d98
|
@ -85,11 +85,11 @@ int Manager::showProgressUi(bool qt, HWND parent, std::function<void (ui_result)
|
|||
m_progressUiCallback = callback;
|
||||
m_notify = notify;
|
||||
|
||||
m_ProgressUiThreadId = GetCurrentThreadId();
|
||||
emit createProgressUi(qt);
|
||||
|
||||
if (!qt)
|
||||
{
|
||||
m_ProgressUiThreadId = GetCurrentThreadId();
|
||||
emit createProgressUi(qt);
|
||||
|
||||
MSG msg;
|
||||
while (GetMessage(&msg, NULL, 0, 0))
|
||||
{
|
||||
|
@ -97,10 +97,6 @@ int Manager::showProgressUi(bool qt, HWND parent, std::function<void (ui_result)
|
|||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
on_createProgressUi(qt);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue