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