Browse Source

[qt] Update FAQ links

Signed-off-by: lizzie <lizzie@eden-emu.dev>
lizzie/update-faq-link-wwa
lizzie 3 days ago
committed by crueter
parent
commit
dccb5be412
  1. 5
      src/qt_common/util/content.cpp
  2. 6
      src/yuzu/main.ui
  3. 17
      src/yuzu/main_window.cpp
  4. 1
      src/yuzu/main_window.h

5
src/qt_common/util/content.cpp

@ -27,9 +27,8 @@ bool CheckGameFirmware(u64 program_id) {
!FirmwareManager::CheckFirmwarePresence(*system)) { !FirmwareManager::CheckFirmwarePresence(*system)) {
auto result = QtCommon::Frontend::Warning( auto result = QtCommon::Frontend::Warning(
tr("Game Requires Firmware"), tr("Game Requires Firmware"),
tr("The game you are trying to launch requires firmware to boot or to get past the "
"opening menu. Please <a href='https://yuzu-mirror.github.io/help/quickstart'>"
"dump and install firmware</a>, or press \"OK\" to launch anyways."),
tr("The game you are trying to launch requires firmware to work. "
"Press \"OK\" to launch anyways."),
QtCommon::Frontend::Ok | QtCommon::Frontend::Cancel); QtCommon::Frontend::Ok | QtCommon::Frontend::Cancel);
return result == QtCommon::Frontend::Ok; return result == QtCommon::Frontend::Ok;

6
src/yuzu/main.ui

@ -232,7 +232,6 @@
</property> </property>
<addaction name="action_Report_Compatibility"/> <addaction name="action_Report_Compatibility"/>
<addaction name="action_Open_Mods_Page"/> <addaction name="action_Open_Mods_Page"/>
<addaction name="action_Open_Quickstart_Guide"/>
<addaction name="action_Open_FAQ"/> <addaction name="action_Open_FAQ"/>
<addaction name="separator"/> <addaction name="separator"/>
<addaction name="action_About"/> <addaction name="action_About"/>
@ -417,11 +416,6 @@
<string>Open &amp;Mods Page</string> <string>Open &amp;Mods Page</string>
</property> </property>
</action> </action>
<action name="action_Open_Quickstart_Guide">
<property name="text">
<string>Open &amp;Quickstart Guide</string>
</property>
</action>
<action name="action_Open_FAQ"> <action name="action_Open_FAQ">
<property name="text"> <property name="text">
<string>&amp;FAQ</string> <string>&amp;FAQ</string>

17
src/yuzu/main_window.cpp

@ -1624,7 +1624,6 @@ void MainWindow::ConnectMenuEvents() {
connect_menu(ui->action_Stop, &MainWindow::OnStopGame); connect_menu(ui->action_Stop, &MainWindow::OnStopGame);
connect_menu(ui->action_Report_Compatibility, &MainWindow::OnMenuReportCompatibility); connect_menu(ui->action_Report_Compatibility, &MainWindow::OnMenuReportCompatibility);
connect_menu(ui->action_Open_Mods_Page, &MainWindow::OnOpenModsPage); connect_menu(ui->action_Open_Mods_Page, &MainWindow::OnOpenModsPage);
connect_menu(ui->action_Open_Quickstart_Guide, &MainWindow::OnOpenQuickstartGuide);
connect_menu(ui->action_Open_FAQ, &MainWindow::OnOpenFAQ); connect_menu(ui->action_Open_FAQ, &MainWindow::OnOpenFAQ);
connect_menu(ui->action_Restart, &MainWindow::OnRestartGame); connect_menu(ui->action_Restart, &MainWindow::OnRestartGame);
connect_menu(ui->action_Configure, &MainWindow::OnConfigure); connect_menu(ui->action_Configure, &MainWindow::OnConfigure);
@ -1963,12 +1962,10 @@ bool MainWindow::LoadROM(const QString& filename, Service::AM::FrontendAppletPar
case Core::SystemResultStatus::ErrorVideoCore: case Core::SystemResultStatus::ErrorVideoCore:
QMessageBox::critical( QMessageBox::critical(
this, tr("An error occurred initializing the video core."), this, tr("An error occurred initializing the video core."),
tr("Eden has encountered an error while running the video core. "
"This is usually caused by outdated GPU drivers, including integrated ones. "
"Please see the log for more details. "
"For more information on accessing the log, please see the following page: "
"<a href='https://yuzu-mirror.github.io/help/reference/log-files/'>"
"How to Upload the Log File</a>. "));
tr("This is usually caused by outdated GPU drivers, including integrated ones. "
"Please see the log for more details. See: "
"<a href='https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/user/HowToAccessLogs.md'>"
"How to access log files</a>."));
break; break;
default: default:
if (result > Core::SystemResultStatus::ErrorLoader) { if (result > Core::SystemResultStatus::ErrorLoader) {
@ -3320,12 +3317,8 @@ void MainWindow::OnOpenModsPage() {
OpenURL(QUrl(QStringLiteral("https://github.com/eden-emulator/yuzu-mod-archive"))); OpenURL(QUrl(QStringLiteral("https://github.com/eden-emulator/yuzu-mod-archive")));
} }
void MainWindow::OnOpenQuickstartGuide() {
OpenURL(QUrl(QStringLiteral("https://yuzu-mirror.github.io/help/quickstart/")));
}
void MainWindow::OnOpenFAQ() { void MainWindow::OnOpenFAQ() {
OpenURL(QUrl(QStringLiteral("https://yuzu-mirror.github.io/help")));
OpenURL(QUrl(QStringLiteral("https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/user/README.md")));
} }
void MainWindow::ToggleFullscreen() { void MainWindow::ToggleFullscreen() {

1
src/yuzu/main_window.h

@ -344,7 +344,6 @@ private slots:
void OnPrepareForSleep(bool prepare_sleep); void OnPrepareForSleep(bool prepare_sleep);
void OnMenuReportCompatibility(); void OnMenuReportCompatibility();
void OnOpenModsPage(); void OnOpenModsPage();
void OnOpenQuickstartGuide();
void OnOpenFAQ(); void OnOpenFAQ();
/// Called whenever a user selects a game in the game list widget. /// Called whenever a user selects a game in the game list widget.

Loading…
Cancel
Save