Change [code] to ``` as code tag don't recognize and user need manually correct tag. (#11226)
This commit is contained in:
committed by
GitHub
parent
51af5b2afb
commit
697f8a7b77
@@ -808,7 +808,7 @@ void AboutDialog::copyToClipboard()
|
||||
deskInfo = QLatin1String(" (") + deskEnv + QLatin1String("/") + deskSess + QLatin1String(")");
|
||||
}
|
||||
|
||||
str << "[code]\n";
|
||||
str << "```\n";
|
||||
str << "OS: " << prettyProductInfoWrapper() << deskInfo << '\n';
|
||||
str << "Word size of " << exe << ": " << QSysInfo::WordSize << "-bit\n";
|
||||
str << "Version: " << major << "." << minor << "." << point << suffix << "." << build;
|
||||
@@ -889,7 +889,7 @@ void AboutDialog::copyToClipboard()
|
||||
}
|
||||
}
|
||||
|
||||
str << "[/code]\n";
|
||||
str << "```\n";
|
||||
QClipboard* cb = QApplication::clipboard();
|
||||
cb->setText(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user