Minor : indentation

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5630 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2018-12-04 22:33:11 +00:00
parent f27954e507
commit 2fe25e74fa
24 changed files with 143 additions and 143 deletions

View File

@@ -57,7 +57,7 @@ void SearchAndReplaceWorker::replaceDiagram(QList<Diagram *> diagram_list)
}
QUndoStack *us = project->undoStack();
us->beginMacro(QObject::tr("Chercher/remplacer les propriétés de folio"));
us->beginMacro(QObject::tr("Chercher/remplacer les propriétés de folio"));
for (Diagram *d : diagram_list)
{
TitleBlockProperties old_propertie = d->border_and_titleblock.exportTitleBlock();
@@ -87,12 +87,12 @@ void SearchAndReplaceWorker::replaceDiagram(QList<Diagram *> diagram_list)
new_properties.filename = m_titleblock_properties.filename;
}
}
if (!m_titleblock_properties.plant.isEmpty())
if (!m_titleblock_properties.plant.isEmpty())
{
if (m_titleblock_properties.plant == eraseText()) {
new_properties.plant.clear();
if (m_titleblock_properties.plant == eraseText()) {
new_properties.plant.clear();
} else {
new_properties.plant = m_titleblock_properties.plant;
new_properties.plant = m_titleblock_properties.plant;
}
}
if (!m_titleblock_properties.locmach.isEmpty())
@@ -168,7 +168,7 @@ void SearchAndReplaceWorker::replaceElement(QList<Element *> list)
}
}
project_->undoStack()->beginMacro(QObject::tr("Chercher/remplacer les propriétés d'éléments"));
project_->undoStack()->beginMacro(QObject::tr("Chercher/remplacer les propriétés d'éléments"));
for (Element *elmt : list)
{
//We apply change only for master, slave, and terminal element.
@@ -228,7 +228,7 @@ void SearchAndReplaceWorker::replaceIndiText(QList<IndependentTextItem *> list)
}
}
project_->undoStack()->beginMacro(QObject::tr("Chercher/remplacer des textes independants"));
project_->undoStack()->beginMacro(QObject::tr("Chercher/remplacer des textes independants"));
for (IndependentTextItem *text : list)
{
QString before = text->toPlainText();