diff --git a/ArchitectureColoredPainting/src/Editor/GraphicElement.cpp b/ArchitectureColoredPainting/src/Editor/GraphicElement.cpp index fd1078f..47f4ee1 100644 --- a/ArchitectureColoredPainting/src/Editor/GraphicElement.cpp +++ b/ArchitectureColoredPainting/src/Editor/GraphicElement.cpp @@ -17,8 +17,8 @@ void SimpleElement::loadSvgFile(const QString& filePath) SimpleElement::SimpleElement(QJsonObject jsonSource) : jsonSource(jsonSource) { painterPath.clear(); - loadSvgFile("D:\\Projects\\BigC\\svg\\3.svg"); - //loadSvgFile(jsonSource.value("data").toObject().value("include").toString()); + //loadSvgFile("D:\\Projects\\BigC\\svg\\3.svg"); + loadSvgFile("../"/*TODO: 改成json文件所在文件夹路径*/ + jsonSource.value("data").toObject().value("include").toString()); } GroupElement::GroupElement(FolderLayerWrapper *sourceLayer)