Try to make Travis happy

This commit is contained in:
Daniel Marjamäki 2020-05-17 23:14:40 +02:00
parent 2ef538c171
commit 23999fece5
2 changed files with 7 additions and 2 deletions

View File

@ -996,7 +996,7 @@ void ProjectFile::SafeChecks::saveToXml(QXmlStreamWriter &xmlWriter) const
xmlWriter.writeEndElement();
}
QString ProjectFile::getAddonFilePath(QString filesDir, QString addon)
QString ProjectFile::getAddonFilePath(QString filesDir, const QString &addon)
{
if (!filesDir.endsWith("/"))
filesDir += "/";

View File

@ -167,7 +167,12 @@ public:
return mAddons;
}
static QString getAddonFilePath(QString filesDir, QString addon);
/**
* @brief Get path to addon python script
* @param filesDir Data files folder set by --data-dir
* @param addon addon i.e. "misra" to lookup
*/
static QString getAddonFilePath(QString filesDir, const QString &addon);
/**
* @brief Get list of addons and tools.