diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index 19c5c66f..dcb6d3b5 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 5ddfef7b..d610a87d 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 2bd8ec22..1d7fbec9 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. + + diff --git a/resources/multimc/16x16/patreon.png b/resources/multimc/16x16/patreon.png new file mode 100644 index 00000000..cde2b326 Binary files /dev/null and b/resources/multimc/16x16/patreon.png differ diff --git a/resources/multimc/22x22/patreon.png b/resources/multimc/22x22/patreon.png new file mode 100644 index 00000000..b6235ad2 Binary files /dev/null and b/resources/multimc/22x22/patreon.png differ diff --git a/resources/multimc/24x24/patreon.png b/resources/multimc/24x24/patreon.png new file mode 100644 index 00000000..c1da080f Binary files /dev/null and b/resources/multimc/24x24/patreon.png differ diff --git a/resources/multimc/32x32/patreon.png b/resources/multimc/32x32/patreon.png new file mode 100644 index 00000000..f5ae8a5e Binary files /dev/null and b/resources/multimc/32x32/patreon.png differ diff --git a/resources/multimc/48x48/patreon.png b/resources/multimc/48x48/patreon.png new file mode 100644 index 00000000..2708a85a Binary files /dev/null and b/resources/multimc/48x48/patreon.png differ diff --git a/resources/multimc/64x64/patreon.png b/resources/multimc/64x64/patreon.png new file mode 100644 index 00000000..7b4814ec Binary files /dev/null and b/resources/multimc/64x64/patreon.png differ diff --git a/resources/multimc/multimc.qrc b/resources/multimc/multimc.qrc index 363347de..d3068ff4 100644 --- a/resources/multimc/multimc.qrc +++ b/resources/multimc/multimc.qrc @@ -26,6 +26,14 @@ 48x48/bug.png 64x64/bug.png + + 16x16/patreon.png + 22x22/patreon.png + 24x24/patreon.png + 32x32/patreon.png + 48x48/patreon.png + 64x64/patreon.png + 16x16/cat.png 22x22/cat.png