From 1657313105804e3c0230ad39255684927e29625c Mon Sep 17 00:00:00 2001 From: Sky Date: Fri, 11 Apr 2014 02:59:30 +0100 Subject: [PATCH] Add Patreon button. Needs an icon (used I for now). --- gui/MainWindow.cpp | 5 +++++ gui/MainWindow.h | 2 ++ gui/MainWindow.ui | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index 19c5c66fc..dcb6d3b52 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -1015,6 +1015,11 @@ void MainWindow::on_actionReportBug_triggered() 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() { openWebPage(QUrl("http://multimc.org/posts.html")); diff --git a/gui/MainWindow.h b/gui/MainWindow.h index 5ddfef7b8..d610a87d0 100644 --- a/gui/MainWindow.h +++ b/gui/MainWindow.h @@ -85,6 +85,8 @@ slots: void on_actionReportBug_triggered(); + void on_actionPatreon_triggered(); + void on_actionMoreNews_triggered(); void newsButtonClicked(); diff --git a/gui/MainWindow.ui b/gui/MainWindow.ui index 2bd8ec226..74b7a0f3e 100644 --- a/gui/MainWindow.ui +++ b/gui/MainWindow.ui @@ -74,6 +74,7 @@ + @@ -268,6 +269,22 @@ Open the bug tracker to report a bug with MultiMC. + + + + + + + + Support us on Patreon + + + Open the MultiMC Patreon page. + + + Open the MultiMC Patreon page. + +