mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
GUI: Add Patreon Link Button
For continued improvements of RPCS3, please become a part of our Patreon support group!
This commit is contained in:
parent
ecb45ef6df
commit
167528d70f
@ -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);
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user