Skip to content

Commit 004d3f8

Browse files
committedJun 17, 2019
update crash reports for github
1 parent a8c171a commit 004d3f8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎src/crashhandler/qgscrashdialog.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ void QgsCrashDialog::on_mUserFeedbackText_textChanged()
6565
void QgsCrashDialog::createBugReport()
6666
{
6767
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;
7070
QString finalText = userText + "\n\n" + details;
7171
QString markdown = htmlToMarkdown( finalText );
7272
clipboard->setText( markdown );
@@ -87,7 +87,6 @@ QString QgsCrashDialog::htmlToMarkdown( const QString &html )
8787
markdown.replace( QLatin1String( "<br>" ), QLatin1String( "\n" ) );
8888
markdown.replace( QLatin1String( "<b>" ), QLatin1String( "*" ) );
8989
markdown.replace( QLatin1String( "</b>" ), QLatin1String( "*" ) );
90-
markdown.replace( QLatin1String( "QGIS code revision: " ), QLatin1String( "QGIS code revision: commit:" ) );
9190
return markdown;
9291
}
9392

‎src/crashhandler/qgscrashreport.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ const QString QgsCrashReport::toMarkdown()
4040
markdown.replace( QLatin1String( "<br>" ), QLatin1String( "\n" ) );
4141
markdown.replace( QLatin1String( "<b>" ), QLatin1String( "*" ) );
4242
markdown.replace( QLatin1String( "</b>" ), QLatin1String( "*" ) );
43-
markdown.replace( QLatin1String( "QGIS code revision: " ), QLatin1String( "QGIS code revision: commit:" ) );
4443
return markdown;
4544
}
4645

0 commit comments

Comments
 (0)
Please sign in to comment.