mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-02 06:19:00 +02:00
[Frontend] add X links to About and Help (#272)
Based off the recent addition of revolt links. Authored-by: Bix bix@bixed.xyz Signed-off-by: Bix bix@bixed.xyz Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/272 Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: Bix <bix@bixed.xyz> Co-committed-by: Bix <bix@bixed.xyz>
This commit is contained in:
parent
d96da5104b
commit
4cc4d315f0
9 changed files with 53 additions and 0 deletions
|
|
@ -1764,6 +1764,7 @@ void GMainWindow::ConnectMenuEvents() {
|
|||
|
||||
connect_menu(ui->action_Discord, &GMainWindow::OnOpenDiscord);
|
||||
connect_menu(ui->action_Revolt, &GMainWindow::OnOpenRevolt);
|
||||
connect_menu(ui->action_X, &GMainWindow::OnOpenX);
|
||||
connect_menu(ui->action_Verify_installed_contents, &GMainWindow::OnVerifyInstalledContents);
|
||||
connect_menu(ui->action_Firmware_From_Folder, &GMainWindow::OnInstallFirmware);
|
||||
connect_menu(ui->action_Firmware_From_ZIP, &GMainWindow::OnInstallFirmwareFromZIP);
|
||||
|
|
@ -3750,6 +3751,10 @@ void GMainWindow::OnOpenRevolt() {
|
|||
OpenURL(QUrl(QStringLiteral("https://rvlt.gg/qKgFEAbH")));
|
||||
}
|
||||
|
||||
void GMainWindow::OnOpenX() {
|
||||
OpenURL(QUrl(QStringLiteral("https://x.com/edenemuofficial")));
|
||||
}
|
||||
|
||||
void GMainWindow::ToggleFullscreen() {
|
||||
if (!emulation_running) {
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -347,6 +347,7 @@ private slots:
|
|||
void OnOpenFAQ();
|
||||
void OnOpenDiscord();
|
||||
void OnOpenRevolt();
|
||||
void OnOpenX();
|
||||
|
||||
/// Called whenever a user selects a game in the game list widget.
|
||||
void OnGameListLoadFile(QString game_path, u64 program_id);
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@
|
|||
<addaction name="separator"/>
|
||||
<addaction name="action_Discord"/>
|
||||
<addaction name="action_Revolt"/>
|
||||
<addaction name="action_X"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="action_About"/>
|
||||
<addaction name="action_Eden_Dependencies"/>
|
||||
|
|
@ -562,6 +563,17 @@
|
|||
<string>From ZIP</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_X">
|
||||
<property name="text">
|
||||
<string>&X</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>X (Twitter)</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Revolt">
|
||||
<property name="text">
|
||||
<string>&Revolt</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue