Fix build on Qt 5.* for Windows.

This commit is contained in:
John Preston 2022-12-02 18:31:38 +04:00
parent a4e4681835
commit b5cb2bc9f0

View File

@ -1737,7 +1737,7 @@ QPointer<Ui::BoxContent> ShowForwardMessagesBox(
const auto weak = Ui::MakeWeak(state->box);
if (!chosen(thread)) {
return;
} else if (const auto strong = weak.get()) {
} else if (const auto strong = weak.data()) {
strong->closeBox();
}
if (successCallback) {