mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 16:13:46 +08:00
Added missing const to local references in some files.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user