Default window title

This commit is contained in:
kaetemi 2015-02-23 20:09:51 +01:00
parent 680d59db49
commit d01d3040c2

View file

@ -110,7 +110,7 @@ static void doSendReport()
// For FINAL_VERSION, simply launch the crash report and exit the application // For FINAL_VERSION, simply launch the crash report and exit the application
TReportResult report(const std::string &title, const std::string &header, const std::string &subject, const std::string &body, bool enableCheckIgnore, uint debugButton, bool ignoreButton, sint quitButton, bool sendReportButton, bool &ignoreNextTime, const string &attachedFile) TReportResult report(const std::string &title, const std::string &header, const std::string &subject, const std::string &body, bool enableCheckIgnore, uint debugButton, bool ignoreButton, sint quitButton, bool sendReportButton, bool &ignoreNextTime, const string &attachedFile)
{ {
ReportWindowTitle = title; ReportWindowTitle = title.empty() ? "Nel Crash Report" : title;
ReportBody = addSlashR(body); ReportBody = addSlashR(body);
doSendReport(); doSendReport();