Added missing const to local references in some files.

This commit is contained in:
23rd
2026-08-11 21:35:32 +03:00
parent de1f5a8f2d
commit 90c89dcde9
111 changed files with 225 additions and 225 deletions

View File

@@ -1208,7 +1208,7 @@ void DocumentData::save(
bool autoLoading) {
Test::NotifyDocumentSave(this, toFile, autoLoading);
if (const auto media = activeMediaView(); media && media->loaded(true)) {
auto &l = location(true);
const auto &l = location(true);
if (!toFile.isEmpty()) {
if (!media->bytes().isEmpty()) {
QFile f(toFile);