mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-13 18:39:57 +01:00
qt: Added Report Compatibility button which redirects to Azahar compatibility list
This commit is contained in:
parent
9f83139118
commit
ccb26303ad
@ -1011,7 +1011,10 @@ void GMainWindow::ConnectMenuEvents() {
|
||||
connect_menu(ui->action_Pause, &GMainWindow::OnPauseContinueGame);
|
||||
connect_menu(ui->action_Stop, &GMainWindow::OnStopGame);
|
||||
connect_menu(ui->action_Restart, [this] { BootGame(QString(game_path)); });
|
||||
connect_menu(ui->action_Report_Compatibility, &GMainWindow::OnMenuReportCompatibility);
|
||||
connect_menu(ui->action_Report_Compatibility, []() {
|
||||
QDesktopServices::openUrl(QUrl(QStringLiteral(
|
||||
"https://github.com/azahar-emu/compatibility-list/blob/master/CONTRIBUTING.md")));
|
||||
});
|
||||
connect_menu(ui->action_Configure, &GMainWindow::OnConfigure);
|
||||
connect_menu(ui->action_Configure_Current_Game, &GMainWindow::OnConfigurePerGame);
|
||||
|
||||
@ -2429,10 +2432,6 @@ void GMainWindow::OnLoadComplete() {
|
||||
UpdateSecondaryWindowVisibility();
|
||||
}
|
||||
|
||||
void GMainWindow::OnMenuReportCompatibility() {
|
||||
// NoOp
|
||||
}
|
||||
|
||||
void GMainWindow::ToggleFullscreen() {
|
||||
if (!emulation_running) {
|
||||
return;
|
||||
|
||||
@ -228,7 +228,6 @@ private slots:
|
||||
void OnStopGame();
|
||||
void OnSaveState();
|
||||
void OnLoadState();
|
||||
void OnMenuReportCompatibility();
|
||||
/// Called whenever a user selects a game in the game list widget.
|
||||
void OnGameListLoadFile(QString game_path);
|
||||
void OnGameListOpenFolder(u64 program_id, GameListOpenTarget target);
|
||||
|
||||
@ -636,15 +636,9 @@
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Report_Compatibility">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Report Compatibility</string>
|
||||
</property>
|
||||
<property name="visible">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Restart">
|
||||
<property name="enabled">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user