mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 16:45:12 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -245,7 +245,7 @@ void EmojiStatusPanel::show(
|
|||||||
}, _panel->lifetime());
|
}, _panel->lifetime());
|
||||||
}
|
}
|
||||||
const auto parent = _panel->parentWidget();
|
const auto parent = _panel->parentWidget();
|
||||||
const auto global = button->mapToGlobal({ 0, 0 });
|
const auto global = button->mapToGlobal(QPoint());
|
||||||
const auto local = parent->mapFromGlobal(global);
|
const auto local = parent->mapFromGlobal(global);
|
||||||
_panel->moveTopRight(
|
_panel->moveTopRight(
|
||||||
local.y() + button->height(),
|
local.y() + button->height(),
|
||||||
|
Reference in New Issue
Block a user