mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12: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
2 changed files with 16 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
||||||
#include <QFontDatabase>
|
#include <QFontDatabase>
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
#include <QTemporaryFile>
|
#include <QTemporaryFile>
|
||||||
|
#include <QDesktopServices>
|
||||||
|
|
||||||
#include "rpcs3_version.h"
|
#include "rpcs3_version.h"
|
||||||
#include "Emu/IdManager.h"
|
#include "Emu/IdManager.h"
|
||||||
|
@ -2925,6 +2926,11 @@ void main_window::CreateConnects()
|
||||||
welcome->open();
|
welcome->open();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
connect(ui->supportAct, &QAction::triggered, this, [this]
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl(QUrl("https://www.patreon.com/Nekotekina"));
|
||||||
|
});
|
||||||
|
|
||||||
connect(ui->aboutAct, &QAction::triggered, this, [this]
|
connect(ui->aboutAct, &QAction::triggered, this, [this]
|
||||||
{
|
{
|
||||||
about_dialog dlg(this);
|
about_dialog dlg(this);
|
||||||
|
|
|
@ -371,6 +371,8 @@
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="languageMenu"/>
|
<addaction name="languageMenu"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
|
<addaction name="supportAct"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
<addaction name="aboutAct"/>
|
<addaction name="aboutAct"/>
|
||||||
<addaction name="aboutQtAct"/>
|
<addaction name="aboutQtAct"/>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -709,6 +711,14 @@
|
||||||
<string>Show Log/TTY</string>
|
<string>Show Log/TTY</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</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">
|
<action name="aboutAct">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>About RPCS3</string>
|
<string>About RPCS3</string>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue