[App] Rename ShowCommitID to ShowBuildCommit.
This commit is contained in:
parent
22eb8747d3
commit
7019205810
|
@ -585,9 +585,9 @@ bool EmulatorWindow::Initialize() {
|
||||||
// Help menu.
|
// Help menu.
|
||||||
auto help_menu = MenuItem::Create(MenuItem::Type::kPopup, "&Help");
|
auto help_menu = MenuItem::Create(MenuItem::Type::kPopup, "&Help");
|
||||||
{
|
{
|
||||||
help_menu->AddChild(
|
help_menu->AddChild(MenuItem::Create(
|
||||||
MenuItem::Create(MenuItem::Type::kString, "Build commit on GitHub...",
|
MenuItem::Type::kString, "Build commit on GitHub...", "F2",
|
||||||
"F2", std::bind(&EmulatorWindow::ShowCommitID, this)));
|
std::bind(&EmulatorWindow::ShowBuildCommit, this)));
|
||||||
help_menu->AddChild(MenuItem::Create(
|
help_menu->AddChild(MenuItem::Create(
|
||||||
MenuItem::Type::kString, "Recent changes on GitHub...", [this]() {
|
MenuItem::Type::kString, "Recent changes on GitHub...", [this]() {
|
||||||
LaunchWebBrowser(
|
LaunchWebBrowser(
|
||||||
|
@ -780,7 +780,7 @@ void EmulatorWindow::OnKeyDown(ui::KeyEvent& e) {
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case ui::VirtualKey::kF2: {
|
case ui::VirtualKey::kF2: {
|
||||||
ShowCommitID();
|
ShowBuildCommit();
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -929,7 +929,7 @@ void EmulatorWindow::ToggleDisplayConfigDialog() {
|
||||||
|
|
||||||
void EmulatorWindow::ShowHelpWebsite() { LaunchWebBrowser("https://xenia.jp"); }
|
void EmulatorWindow::ShowHelpWebsite() { LaunchWebBrowser("https://xenia.jp"); }
|
||||||
|
|
||||||
void EmulatorWindow::ShowCommitID() {
|
void EmulatorWindow::ShowBuildCommit() {
|
||||||
#ifdef XE_BUILD_IS_PR
|
#ifdef XE_BUILD_IS_PR
|
||||||
LaunchWebBrowser(
|
LaunchWebBrowser(
|
||||||
"https://github.com/xenia-project/xenia/pull/" XE_BUILD_PR_NUMBER);
|
"https://github.com/xenia-project/xenia/pull/" XE_BUILD_PR_NUMBER);
|
||||||
|
|
|
@ -140,7 +140,7 @@ class EmulatorWindow {
|
||||||
void GpuClearCaches();
|
void GpuClearCaches();
|
||||||
void ToggleDisplayConfigDialog();
|
void ToggleDisplayConfigDialog();
|
||||||
void ShowHelpWebsite();
|
void ShowHelpWebsite();
|
||||||
void ShowCommitID();
|
void ShowBuildCommit();
|
||||||
|
|
||||||
Emulator* emulator_;
|
Emulator* emulator_;
|
||||||
ui::WindowedAppContext& app_context_;
|
ui::WindowedAppContext& app_context_;
|
||||||
|
|
Loading…
Reference in New Issue