mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user