mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Add Qt 6 support
Tested only on Linux so far
This commit is contained in:
@@ -478,7 +478,7 @@ void Rows::showMenu(int index) {
|
||||
}
|
||||
}
|
||||
const auto toggle = menuToggleArea(row);
|
||||
const auto parentTopLeft = window()->mapToGlobal({ 0, 0 });
|
||||
const auto parentTopLeft = window()->mapToGlobal(QPoint());
|
||||
const auto buttonTopLeft = mapToGlobal(toggle.topLeft());
|
||||
const auto parent = QRect(parentTopLeft, window()->size());
|
||||
const auto button = QRect(buttonTopLeft, toggle.size());
|
||||
|
Reference in New Issue
Block a user