Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
feat(aboutform): Add OS name in issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
Diadlo committed Jun 26, 2017
1 parent dd9b324 commit 7b3bd45
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/widget/form/settings/aboutform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ void AboutForm::replaceVersions()
bodyUI->qtVersion->setText(tr("Qt version: %1").arg(QT_VERSION_STR));

QString issueBody = QString("##### Brief Description\n\n"
"OS: Windows / OS X / Linux (include version and/or distro)\n"
"qTox version: %1\n"
"Commit hash: %2\n"
"toxcore: %3\n"
"Qt: %4\n"
"OS: %1\n"
"qTox version: %2\n"
"Commit hash: %3\n"
"toxcore: %4\n"
"Qt: %5\n"
"Hardware: \n\n\n"
"Reproducible: Always / Almost Always / Sometimes"
" / Rarely / Couldn't Reproduce\n\n"
Expand All @@ -105,7 +105,8 @@ void AboutForm::replaceVersions()
"More information on how to write good bug reports in the wiki: "
"https://github.com/qTox/qTox/wiki/Writing-Useful-Bug-Reports.\n\n"
"Please remove any unnecessary template section before submitting.")
.arg(GIT_DESCRIBE, GIT_VERSION, TOXCORE_VERSION, QT_VERSION_STR);
.arg(QSysInfo::prettyProductName(), GIT_DESCRIBE, GIT_VERSION,
TOXCORE_VERSION, QT_VERSION_STR);

issueBody.replace("#", "%23").replace(":", "%3A");

Expand Down

0 comments on commit 7b3bd45

Please sign in to comment.