mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Move code use to find prefix of element from element class, to autonum namespace
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4793 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -434,7 +434,7 @@ QHash <QString, QString> QETProject::conductorAutoNumHash() {
|
||||
QString QETProject::elementAutoNumFormula (QString key) const
|
||||
{
|
||||
if (m_element_autonum.contains(key)) {
|
||||
return autonum::NumerotationContextToFormula(m_element_autonum[key]);
|
||||
return autonum::numerotationContextToFormula(m_element_autonum[key]);
|
||||
}
|
||||
|
||||
return QString();
|
||||
|
||||
Reference in New Issue
Block a user