[App] Rename ShowCommitID to ShowBuildCommit.

This commit is contained in:
gibbed 2022-01-29 03:30:18 -06:00 committed by Rick Gibbed
parent 22eb8747d3
commit 7019205810
2 changed files with 6 additions and 6 deletions

View File

@ -585,9 +585,9 @@ bool EmulatorWindow::Initialize() {
// Help menu.
auto help_menu = MenuItem::Create(MenuItem::Type::kPopup, "&Help");
{
help_menu->AddChild(
MenuItem::Create(MenuItem::Type::kString, "Build commit on GitHub...",
"F2", std::bind(&EmulatorWindow::ShowCommitID, this)));
help_menu->AddChild(MenuItem::Create(
MenuItem::Type::kString, "Build commit on GitHub...", "F2",
std::bind(&EmulatorWindow::ShowBuildCommit, this)));
help_menu->AddChild(MenuItem::Create(
MenuItem::Type::kString, "Recent changes on GitHub...", [this]() {
LaunchWebBrowser(
@ -780,7 +780,7 @@ void EmulatorWindow::OnKeyDown(ui::KeyEvent& e) {
} break;
case ui::VirtualKey::kF2: {
ShowCommitID();
ShowBuildCommit();
} break;
default:
@ -929,7 +929,7 @@ void EmulatorWindow::ToggleDisplayConfigDialog() {
void EmulatorWindow::ShowHelpWebsite() { LaunchWebBrowser("https://xenia.jp"); }
void EmulatorWindow::ShowCommitID() {
void EmulatorWindow::ShowBuildCommit() {
#ifdef XE_BUILD_IS_PR
LaunchWebBrowser(
"https://github.com/xenia-project/xenia/pull/" XE_BUILD_PR_NUMBER);

View File

@ -140,7 +140,7 @@ class EmulatorWindow {
void GpuClearCaches();
void ToggleDisplayConfigDialog();
void ShowHelpWebsite();
void ShowCommitID();
void ShowBuildCommit();
Emulator* emulator_;
ui::WindowedAppContext& app_context_;