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

@@ -716,7 +716,7 @@ QString QETProject::integrateElement(const QString &elmt_path, MoveElementsHandl
ElementsCategory *integ_cat = integrationCategory();
// accede a l'element a integrer
ElementsCollectionItem *integ_item = QETApp::collectionItem(ElementsLocation::locationFromString(elmt_path));
ElementsCollectionItem *integ_item = QETApp::collectionItem(ElementsLocation(elmt_path));
ElementDefinition *integ_elmt = integ_item ? integ_item -> toElement() : 0;
if (!integ_item || !integ_elmt)
{