Supply version and platform strings to Report Bugs page

This commit is contained in:
Mark Watkins 2016-04-03 23:37:42 +10:00
parent 826b9bb175
commit 0bc6fbbcc6

View File

@ -2796,5 +2796,5 @@ void MainWindow::on_actionReport_a_Bug_triggered()
{
QSettings settings(getDeveloperName(), getAppName());
QString language = settings.value(LangSetting).toString();
QDesktopServices::openUrl(QUrl(QString("http://sleepyhead.jedimark.net/report_bugs.php?lang=%1").arg(language)));
QDesktopServices::openUrl(QUrl(QString("http://sleepyhead.jedimark.net/report_bugs.php?lang=%1&version=%2&platform=%3").arg(language).arg(VersionString).arg(PlatformString)));
}