Skip to content

Commit bb470c4

Browse files
committed
Merge remote-tracking branch 'upstream/main' into feat/improve-screen-rendering-framework
2 parents 9b2aafa + fe9608f commit bb470c4

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ repos:
114114
rev: v0.13.0
115115
hooks:
116116
- id: markdownlint-cli2
117+
language_version: lts
117118
- repo: https://github.com/python-jsonschema/check-jsonschema
118119
rev: 0.29.1
119120
hooks:

src/test/controllerrenderingengine_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ class MockRenderingEngine : public ControllerRenderingEngine {
3434
};
3535

3636
TEST_F(ControllerRenderingEngineTest, createValidRendererWithSupportedTypes) {
37-
for (auto pixelFormat : supportedPixelFormat()) {
37+
const auto& supportedPixelFormats = supportedPixelFormat();
38+
for (const auto& pixelFormat : supportedPixelFormats) {
3839
MockRenderingEngine screenTest(LegacyControllerMapping::ScreenInfo{
3940
"", // identifier
4041
QSize(0, 0), // size

src/track/steminfoimporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ QList<StemInfo> StemInfoImporter::importStemInfos(
171171
kLogger.debug() << "Unexpected or missing stems value in STEM manifest";
172172
return {};
173173
}
174-
auto stemArray = stems.toArray();
174+
const auto stemArray = stems.toArray();
175175
QList<StemInfo> stemsList;
176176
stemsList.reserve(stemArray.size());
177177
int stemIdx = 0;

0 commit comments

Comments
 (0)