Add Patreon button. Needs an icon (used I for now).
This commit is contained in:
parent
50d18a06d5
commit
1657313105
@ -1015,6 +1015,11 @@ void MainWindow::on_actionReportBug_triggered()
|
|||||||
openWebPage(QUrl("https://github.com/MultiMC/MultiMC5/issues"));
|
openWebPage(QUrl("https://github.com/MultiMC/MultiMC5/issues"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_actionPatreon_triggered()
|
||||||
|
{
|
||||||
|
openWebPage(QUrl("http://www.patreon.com/multimc"));
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionMoreNews_triggered()
|
void MainWindow::on_actionMoreNews_triggered()
|
||||||
{
|
{
|
||||||
openWebPage(QUrl("http://multimc.org/posts.html"));
|
openWebPage(QUrl("http://multimc.org/posts.html"));
|
||||||
|
@ -85,6 +85,8 @@ slots:
|
|||||||
|
|
||||||
void on_actionReportBug_triggered();
|
void on_actionReportBug_triggered();
|
||||||
|
|
||||||
|
void on_actionPatreon_triggered();
|
||||||
|
|
||||||
void on_actionMoreNews_triggered();
|
void on_actionMoreNews_triggered();
|
||||||
|
|
||||||
void newsButtonClicked();
|
void newsButtonClicked();
|
||||||
|
@ -74,6 +74,7 @@
|
|||||||
<addaction name="actionReportBug"/>
|
<addaction name="actionReportBug"/>
|
||||||
<addaction name="actionAbout"/>
|
<addaction name="actionAbout"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
|
<addaction name="actionPatreon"/>
|
||||||
<addaction name="actionCAT"/>
|
<addaction name="actionCAT"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QStatusBar" name="statusBar"/>
|
<widget class="QStatusBar" name="statusBar"/>
|
||||||
@ -268,6 +269,22 @@
|
|||||||
<string>Open the bug tracker to report a bug with MultiMC.</string>
|
<string>Open the bug tracker to report a bug with MultiMC.</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionPatreon">
|
||||||
|
<property name="icon">
|
||||||
|
<iconset theme="about">
|
||||||
|
<normaloff/>
|
||||||
|
</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Support us on Patreon</string>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open the MultiMC Patreon page.</string>
|
||||||
|
</property>
|
||||||
|
<property name="statusTip">
|
||||||
|
<string>Open the MultiMC Patreon page.</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
<action name="actionMoreNews">
|
<action name="actionMoreNews">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset theme="news">
|
<iconset theme="news">
|
||||||
|
Loading…
Reference in New Issue
Block a user