mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
Add some 'help' for printpoint format and arguments.
This commit is contained in:
@@ -215,7 +215,20 @@ QString SeerPrintpointCreateDialog::printpointText () const {
|
||||
printpointParameters += " --line " + lineNumberText();
|
||||
}
|
||||
|
||||
printpointParameters += " \"" + format() + "\"";
|
||||
// Build the format string, ensuring a \" at the beggining and end of the string.
|
||||
printpointParameters += " ";
|
||||
|
||||
if (format().front() != "\"") {
|
||||
printpointParameters += "\"";
|
||||
}
|
||||
|
||||
printpointParameters += format();
|
||||
|
||||
if (format().back() != "\"") {
|
||||
printpointParameters += "\"";
|
||||
}
|
||||
|
||||
// Add the arguments to the string.
|
||||
printpointParameters += " " + arguments();
|
||||
|
||||
return printpointParameters;
|
||||
|
||||
Reference in New Issue
Block a user