Beta version 3.6.3: Fix build with Qt 5.15.

This commit is contained in:
John Preston 2022-04-13 16:41:27 +04:00
parent d9ba83c222
commit 866ab2fcc2

View file

@ -414,7 +414,7 @@ void ReactionsSettingsBox(
buttonsContainer->resizeToWidth(s.width()); buttonsContainer->resizeToWidth(s.width());
}, scroll->lifetime()); }, scroll->lifetime());
const auto check = Ui::CreateChild<Ui::RpWidget>(buttonsContainer.get()); const auto check = Ui::CreateChild<Ui::RpWidget>(buttonsContainer.data());
check->resize(st::settingsReactionCornerSize); check->resize(st::settingsReactionCornerSize);
check->setAttribute(Qt::WA_TransparentForMouseEvents); check->setAttribute(Qt::WA_TransparentForMouseEvents);
check->paintRequest( check->paintRequest(