Maintenance: [forced, user-approved] Family G5: remove invented UIWaitDBSaveWndContext (WindowManagerWindows& windows), its ctor para
Batch #10198 by ragnarok-clanker: forced by an admin (1 lower score(s), 3 changed function(s)); checked with 490 compiled unit(s), including every includer of Source/UI/Dialogs/UIWaitDBSaveWnd.h, Source/UI/Window/UIWindowMgr.h.
This commit is contained in:
parent
4f6f377445
commit
3152f84a20
4 changed files with 5 additions and 13 deletions
|
|
@ -3946,8 +3946,7 @@ void UIWindowMgr::ShowWaitDBSaveWindow() {
|
|||
}
|
||||
|
||||
WindowDialogs& dialogs = *reinterpret_cast<WindowDialogs*>(this);
|
||||
UIWaitDBSaveWndContext waitContext{*reinterpret_cast<WindowManagerWindows*>(this)};
|
||||
this->window_4F2AC = new UIWaitDBSaveWnd(dialogs.windows, waitContext);
|
||||
this->window_4F2AC = new UIWaitDBSaveWnd(dialogs.windows);
|
||||
this->window_4F2AC->SetSize(g_renderer->viewport.width, g_renderer->viewport.height);
|
||||
this->window_4F2AC->Move(0, 0);
|
||||
this->window_4F2AC->SetId(10024);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue