GUI: Add Patreon Link Button

For continued improvements of RPCS3, please become a part of our Patreon support group!
This commit is contained in:
Eladash 2023-09-17 21:45:44 +03:00 committed by Elad Ashkenazi
parent ecb45ef6df
commit 167528d70f
2 changed files with 16 additions and 0 deletions

View File

@ -48,6 +48,7 @@
#include <QFontDatabase>
#include <QBuffer>
#include <QTemporaryFile>
#include <QDesktopServices>
#include "rpcs3_version.h"
#include "Emu/IdManager.h"
@ -2925,6 +2926,11 @@ void main_window::CreateConnects()
welcome->open();
});
connect(ui->supportAct, &QAction::triggered, this, [this]
{
QDesktopServices::openUrl(QUrl("https://www.patreon.com/Nekotekina"));
});
connect(ui->aboutAct, &QAction::triggered, this, [this]
{
about_dialog dlg(this);

View File

@ -371,6 +371,8 @@
<addaction name="separator"/>
<addaction name="languageMenu"/>
<addaction name="separator"/>
<addaction name="supportAct"/>
<addaction name="separator"/>
<addaction name="aboutAct"/>
<addaction name="aboutQtAct"/>
</widget>
@ -709,6 +711,14 @@
<string>Show Log/TTY</string>
</property>
</action>
<action name="supportAct">
<property name="text">
<string>Support Us</string>
</property>
<property name="toolTip">
<string>To ensure continued improvements of RPCS3, become a part of our Patreon group!</string>
</property>
</action>
<action name="aboutAct">
<property name="text">
<string>About RPCS3</string>