diff --git a/Telegram/SourceFiles/info/profile/info_profile_cover.cpp b/Telegram/SourceFiles/info/profile/info_profile_cover.cpp index d99705f21..9e0700e07 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_cover.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_cover.cpp @@ -245,7 +245,7 @@ void EmojiStatusPanel::show( }, _panel->lifetime()); } const auto parent = _panel->parentWidget(); - const auto global = button->mapToGlobal({ 0, 0 }); + const auto global = button->mapToGlobal(QPoint()); const auto local = parent->mapFromGlobal(global); _panel->moveTopRight( local.y() + button->height(),