Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensoftware52 committed Nov 29, 2023
1 parent 43b6b93 commit 4eebf6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GrpcBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class grpc_proxy_objImpl final : public grpc_proxy_obj::Service
if (!SlBrowser::instance().m_widget->isHidden())
{
HWND hwnd = HWND(SlBrowser::instance().m_widget->winId());
Util::ForceForegroundWindow(hwnd);
WindowsFunctions::ForceForegroundWindow(hwnd);
}

return grpc::Status::OK;
Expand Down
2 changes: 1 addition & 1 deletion browser-client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ bool BrowserClient::OnProcessMessageReceived(CefRefPtr<CefBrowser> browser, CefR
if (::IsIconic(hwnd))
::ShowWindow(hwnd, SW_RESTORE);

Util::ForceForegroundWindow(hwnd);
WindowsFunctions::ForceForegroundWindow(hwnd);
break;
}
case JavascriptApi::JS_QT_SET_WINDOW_POSITION:
Expand Down

0 comments on commit 4eebf6c

Please sign in to comment.