Codechange: pass std::string references to OpenBrowser

This commit is contained in:
rubidium42
2023-11-28 20:17:05 -04:00
committed by rubidium42
parent 8437b20fed
commit 27082f9efa
10 changed files with 19 additions and 19 deletions

View File

@@ -384,7 +384,7 @@ class NetworkContentListWindow : public Window, ContentCallback {
}
}
OpenBrowser(url.c_str());
OpenBrowser(url);
}
/**
@@ -855,7 +855,7 @@ public:
case WID_NCL_OPEN_URL:
if (this->selected != nullptr) {
OpenBrowser(this->selected->url.c_str());
OpenBrowser(this->selected->url);
}
break;

View File

@@ -2501,7 +2501,7 @@ struct NetworkAskSurveyWindow : public Window {
break;
case WID_NAS_LINK:
OpenBrowser(NETWORK_SURVEY_DETAILS_LINK.c_str());
OpenBrowser(NETWORK_SURVEY_DETAILS_LINK);
break;
case WID_NAS_NO: