[qet] qet/qet: [5514] Improve last commit |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5514
Author: scorpio810
Date: 2018-09-22 17:59:05 +0200 (Sat, 22 Sep 2018)
Log Message:
-----------
Improve last commit
Modified Paths:
--------------
trunk/sources/autoNum/assignvariables.cpp
Modified: trunk/sources/autoNum/assignvariables.cpp
===================================================================
--- trunk/sources/autoNum/assignvariables.cpp 2018-09-22 14:27:45 UTC (rev 5513)
+++ trunk/sources/autoNum/assignvariables.cpp 2018-09-22 15:59:05 UTC (rev 5514)
@@ -193,8 +193,8 @@
return str;
}
- QSettings settings;
+
AssignVariables::AssignVariables(const QString& formula, const sequentialNumbers& seqStruct , Diagram *diagram, const Element *elmt):
m_diagram(diagram),
m_arg_formula(formula),
@@ -212,7 +212,7 @@
m_assigned_label.replace("%M", m_diagram -> border_and_titleblock.machine());
m_assigned_label.replace("%LM", m_diagram -> border_and_titleblock.locmach());
-
+ QSettings settings;
if (m_element)
{
if (settings.value("border-columns_0", true).toBool()){