Made BugReporting.cpp output match bug_report.md (#2808)

This commit is contained in:
AdavisSnakes 2021-10-17 13:02:27 -04:00 committed by GitHub
parent ef4a6cf997
commit af01134ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,16 +30,21 @@ void openIssue()
}
url = "https://github.com/rizinorg/cutter/issues/new?&body=**Environment information**\n* "
"Operating System: "
+ osInfo + "\n* Cutter version: " + CUTTER_VERSION_FULL + "\n* File format: " + format
+ "\n * Arch: " + arch + "\n * Type: " + type
+ "\n\n**Describe the bug**\nA clear and concise description of what the bug "
"is.\n\n**To Reproduce**\n"
+ osInfo + "\n* Cutter version: " + CUTTER_VERSION_FULL + "\n* Obtained from:\n"
+ " - [x] Built from source\n - [ ] Downloaded release from Cutter website or GitHub "
"\n"
" - [ ] Distribution repository\n* File format: "
+ format + "\n * Arch: " + arch + "\n * Type: " + type
+ "\n\n**Describe the bug**\n\n<!-- A clear and concise description of what the bug "
"is. -->"
"\n\n**To Reproduce**\n\n"
"Steps to reproduce the behavior:\n1. Go to '...'\n2. Click on '....'\n3. Scroll "
"down to '....'\n"
"4. See error\n\n**Expected behavior**\n"
"A clear and concise description of what you expected to happen.\n\n"
"**Screenshots**\nIf applicable, add screenshots to help explain your problem.\n\n"
"**Additional context**\nAdd any other context about the problem here.";
"4. See error\n\n**Expected behavior**\n\n"
"<!-- A clear and concise description of what you expected to happen. -->\n\n\n"
"**Screenshots**\n\n<!-- If applicable, add screenshots to help explain your "
"problem. -->\n\n\n"
"**Additional context**\n\n<!-- Add any other context about the problem here. -->\n";
QDesktopServices::openUrl(QUrl(url, QUrl::TolerantMode));
}