mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Make use of wrongly unused variables
This commit is contained in:
@@ -613,7 +613,7 @@ void writeBackground(const Data::WallPaper &paper, const QImage &image) {
|
||||
dst = dst.subspan(sizeof(qint32));
|
||||
bytes::copy(dst, bytes::object_as_span(&height));
|
||||
dst = dst.subspan(sizeof(qint32));
|
||||
const auto src = bytes::make_span(image.constBits(), srcsize);
|
||||
const auto src = bytes::make_span(copy.constBits(), srcsize);
|
||||
if (srcsize == dstsize) {
|
||||
bytes::copy(dst, src);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user