2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use base::weak_qptr / base::make_weak.

This commit is contained in:
John Preston
2025-07-18 10:07:39 +04:00
parent 321c7120df
commit b754ad5248
189 changed files with 556 additions and 555 deletions

View File

@@ -173,7 +173,7 @@ Loader::Loader(
void Loader::unpack(const QString &path) {
const auto folder = internal::SetDataPath(id());
const auto weak = Ui::MakeWeak(this);
const auto weak = base::make_weak(this);
crl::async([=] {
if (UnpackSet(path, folder)) {
QFile(path).remove();