File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ void QgsCrashDialog::on_mUserFeedbackText_textChanged()
65
65
void QgsCrashDialog::createBugReport ()
66
66
{
67
67
QClipboard *clipboard = QApplication::clipboard ();
68
- QString userText = " h2. User Feedback\n\n " + mUserFeedbackText ->toPlainText ();
69
- QString details = " h2. Report Details\n\n " + mReportData ;
68
+ QString userText = " ## User Feedback\n\n " + mUserFeedbackText ->toPlainText ();
69
+ QString details = " ## Report Details\n\n " + mReportData ;
70
70
QString finalText = userText + " \n\n " + details;
71
71
QString markdown = htmlToMarkdown ( finalText );
72
72
clipboard->setText ( markdown );
@@ -87,7 +87,6 @@ QString QgsCrashDialog::htmlToMarkdown( const QString &html )
87
87
markdown.replace ( QLatin1String ( " <br>" ), QLatin1String ( " \n " ) );
88
88
markdown.replace ( QLatin1String ( " <b>" ), QLatin1String ( " *" ) );
89
89
markdown.replace ( QLatin1String ( " </b>" ), QLatin1String ( " *" ) );
90
- markdown.replace ( QLatin1String ( " QGIS code revision: " ), QLatin1String ( " QGIS code revision: commit:" ) );
91
90
return markdown;
92
91
}
93
92
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ const QString QgsCrashReport::toMarkdown()
40
40
markdown.replace ( QLatin1String ( " <br>" ), QLatin1String ( " \n " ) );
41
41
markdown.replace ( QLatin1String ( " <b>" ), QLatin1String ( " *" ) );
42
42
markdown.replace ( QLatin1String ( " </b>" ), QLatin1String ( " *" ) );
43
- markdown.replace ( QLatin1String ( " QGIS code revision: " ), QLatin1String ( " QGIS code revision: commit:" ) );
44
43
return markdown;
45
44
}
46
45
You can’t perform that action at this time.
0 commit comments