mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
Fixed jsonapi generator:
- Doxygen failed, because it got Unix like paths on Windows - Josnapi generator created empty output files, because multiple _ in input file names
This commit is contained in:
parent
294d711cc3
commit
bbb15fd960
2 changed files with 3 additions and 3 deletions
|
@ -140,7 +140,7 @@ int main(int argc, char *argv[])
|
|||
QString refid(member.attributes().namedItem("refid").nodeValue());
|
||||
QString methodName(member.firstChildElement("name").toElement().text());
|
||||
bool requiresAuth = true;
|
||||
QString defFilePath(doxPrefix + refid.split('_')[0] + ".xml");
|
||||
QString defFilePath(doxPrefix + refid.left(refid.lastIndexOf('_')) + ".xml");
|
||||
|
||||
qDebug() << "Looking for" << typeName << methodName << "into"
|
||||
<< typeFilePath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue