MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / relativeToProject

Method relativeToProject

MiniZincIDE/project.cpp:490–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490QString Project::relativeToProject(const QString& fileName)
491{
492 QFileInfo fi(fileName);
493 auto abs = fi.absoluteFilePath();
494 return hasProjectFile() ? rootDir().relativeFilePath(abs) : abs;
495}
496
497void Project::openTabsChanged(const QStringList& files, int currentTab)
498{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected