The code is even simpler this way.
Found by using heaptrack.
The code is even simpler this way.
Found by using heaptrack.
the unittest for rgb still passes.
No Linters Available |
No Unit Test Coverage |
Buildable 3412 | |
Build 3430: arc lint + arc unit |
src/imageformats/rgb.cpp | ||
---|---|---|
702 | head[i] → head.at(i) |
src/imageformats/rgb.cpp | ||
---|---|---|
702 | This would make no difference, given that I made head const... |
src/imageformats/rgb.cpp | ||
---|---|---|
702 | Shouldn't it be QLatin1String("\x01\xda\x01")? |
src/imageformats/rgb.cpp | ||
---|---|---|
702 | head is a QByteArray, not a QString. |