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
+1 -1
View File
@@ -245,7 +245,7 @@ void SendBotCallbackDataWithPassword(
fields.customSubmitButton = tr::lng_passcode_submit();
fields.customCheckCallback = [=](
const Core::CloudPasswordResult &result,
QPointer<PasscodeBox> box) {
base::weak_qptr<PasscodeBox> box) {
if (const auto button = getButton()) {
if (button->requestId) {
return;