提交 714c652d 编写于 作者: R Ryan Foster 提交者: Jim

UI: Prevent import failure for collections with slash in name

上级 2d1b0666
......@@ -578,6 +578,7 @@ void OBSImporter::importCollections()
QString file = res["name"].string_value().c_str();
file.replace(" ", "_");
file.replace("/", "_");
bool safe = !CheckConfigExists(dst, file);
int x = 1;
while (!safe) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册