Initial RSS re-add and removed hardcoded strings

This commit is contained in:
dada513
2022-02-10 13:14:25 +01:00
parent f8ca6b4867
commit 70f8cb81b8
4 changed files with 11 additions and 4 deletions

View File

@ -1687,7 +1687,7 @@ void MainWindow::on_actionReportBug_triggered()
void MainWindow::on_actionMoreNews_triggered()
{
DesktopServices::openUrl(QUrl("https://multimc.org/posts.html"));
DesktopServices::openUrl(QUrl(BuildConfig.NEWS_OPEN_URL));
}
void MainWindow::newsButtonClicked()
@ -1699,7 +1699,7 @@ void MainWindow::newsButtonClicked()
}
else
{
DesktopServices::openUrl(QUrl("https://multimc.org/posts.html"));
DesktopServices::openUrl(QUrl(BuildConfig.NEWS_OPEN_URL));
}
}