mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +01:00
Revert "Try Clazy fix-its"
Segfault on old Qt versions!
This reverts commit dba7caed30.
This commit is contained in:
@@ -1717,12 +1717,10 @@ QString TitleBlockTemplate::finalTextForCell(
|
||||
|
||||
if (cell.display_label && !cell.label.isEmpty()) {
|
||||
cell_label = interpreteVariables(cell_label, diagram_context);
|
||||
cell_text = QString(tr(" %1 : %2",
|
||||
"titleblock content - please let the blank "
|
||||
"space at the beginning"))
|
||||
.arg(cell_label, cell_text);
|
||||
cell_text = QString(tr(" %1 : %2", "titleblock content - please let the blank space at the beginning")).arg(cell_label).arg(cell_text);
|
||||
} else {
|
||||
cell_text = QString(tr(" %1")).arg(cell_text);
|
||||
}
|
||||
else { cell_text = QString(tr(" %1")).arg(cell_text); }
|
||||
return(cell_text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user