astyle formatting

This commit is contained in:
Daniel Marjamäki 2021-07-24 17:07:34 +02:00
parent 8d5249e3b6
commit 40b52169cf
1 changed files with 3 additions and 3 deletions

View File

@ -681,9 +681,9 @@ void ProjectFileDialog::addSingleSuppression(const Suppressions::Suppression &su
(suppression.fileName.find(sep) == std::string::npos)) { (suppression.fileName.find(sep) == std::string::npos)) {
QFileInfo inf(mProjectFile->getFilename()); QFileInfo inf(mProjectFile->getFilename());
QString rootpath = inf.absolutePath(); QString rootpath = inf.absolutePath();
if (QFile::exists(QString{"%1%2%3"}.arg(rootpath, if (QFile::exists(QString{"%1%2%3"} .arg(rootpath,
QDir::separator(), QDir::separator(),
QString::fromStdString(suppression.fileName)))) { QString::fromStdString(suppression.fileName)))) {
Suppressions::Suppression sup = suppression; Suppressions::Suppression sup = suppression;
sup.fileName = rootpath.toLatin1().constData(); sup.fileName = rootpath.toLatin1().constData();
sup.fileName += sep; sup.fileName += sep;