mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix build with Xcode.
This commit is contained in:
parent
77772caabb
commit
ba8673af5e
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Reference in a new issue