Remove Two methods of ElementsLocation

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4389 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-03-20 15:54:28 +00:00
parent 4fe4509885
commit 10fcaa09d1
6 changed files with 16 additions and 51 deletions

View File

@@ -210,7 +210,7 @@ void DiagramEventAddElement::addElement()
if (m_integrate_path.isEmpty())
element = ElementFactory::Instance() -> createElement(m_location, 0, &state);
else
element = ElementFactory::Instance() -> createElement(ElementsLocation::locationFromString(m_integrate_path), 0, &state);
element = ElementFactory::Instance() -> createElement(ElementsLocation(m_integrate_path), 0, &state);
//Build failed
if (state)