[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-09-12 13:03:02 +00:00
committed by WandererFan
parent a207d11fa4
commit e92ed45df9
435 changed files with 2669 additions and 2645 deletions

View File

@@ -126,7 +126,7 @@ void ViewProviderSections::highlightReferences(ShapeType type, const References&
std::size_t idx =
static_cast<std::size_t>(std::stoi(jt.substr(6)) - 1);
if (idx < colors.size()) {
colors[idx] = App::Color(1.0, 0.0, 1.0);// magenta
colors[idx] = App::Color(1.0, 0.0, 1.0); // magenta
}
}
@@ -149,7 +149,7 @@ void ViewProviderSections::highlightReferences(ShapeType type, const References&
// check again that the index is in range because it's possible that
// the sub-names are invalid
if (idx < colors.size()) {
colors[idx] = App::Color(1.0, 0.0, 1.0);// magenta
colors[idx] = App::Color(1.0, 0.0, 1.0); // magenta
}
}
@@ -172,7 +172,7 @@ void ViewProviderSections::highlightReferences(ShapeType type, const References&
// check again that the index is in range because it's possible that
// the sub-names are invalid
if (idx < colors.size()) {
colors[idx] = App::Color(1.0, 0.0, 1.0);// magenta
colors[idx] = App::Color(1.0, 0.0, 1.0); // magenta
}
}
@@ -649,6 +649,6 @@ bool TaskSections::reject()
return ok;
}
}// namespace SurfaceGui
} // namespace SurfaceGui
#include "moc_TaskSections.cpp"