diff --git a/src/browser/client.cxx b/src/browser/client.cxx index d5fab6b..7520711 100644 --- a/src/browser/client.cxx +++ b/src/browser/client.cxx @@ -45,7 +45,7 @@ void Browser::Client::OpenLauncher() { std::lock_guard _(this->windows_lock); auto it = std::find_if(this->windows.begin(), this->windows.end(), [](CefRefPtr& win) { return win->IsLauncher(); }); if (it == this->windows.end()) { - CefRefPtr w = new Launcher(this, LAUNCHER_DETAILS, this->show_devtools, this, this->config_dir, this->data_dir); + CefRefPtr w = new Browser::Launcher(this, LAUNCHER_DETAILS, this->show_devtools, this, this->config_dir, this->data_dir); this->windows.push_back(w); } else { (*it)->Focus(); @@ -111,7 +111,7 @@ void Browser::Client::OnContextInitialized() { // After main() enters its event loop, this function will be called on the main thread when CEF // context is ready to go, so, as suggested by CEF examples, Bolt treats this as an entry point. std::lock_guard _(this->windows_lock); - CefRefPtr w = new Launcher(this, LAUNCHER_DETAILS, this->show_devtools, this, this->config_dir, this->data_dir); + CefRefPtr w = new Browser::Launcher(this, LAUNCHER_DETAILS, this->show_devtools, this, this->config_dir, this->data_dir); this->windows.push_back(w); }