mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Rename some Ui methods.
myEnsureResized -> Ui::SendPendingMoveResizeEvents. myGrab -> Ui::GrabWidget. myGrabImage -> Ui::GrabWidgetToImage.
This commit is contained in:
@@ -489,7 +489,7 @@ QImage TabbedSelector::grabForAnimation() {
|
||||
showAll();
|
||||
_topShadow->hide();
|
||||
_tabsSlider->hide();
|
||||
myEnsureResized(this);
|
||||
Ui::SendPendingMoveResizeEvents(this);
|
||||
|
||||
auto result = QImage(size() * cIntRetinaFactor(), QImage::Format_ARGB32_Premultiplied);
|
||||
result.setDevicePixelRatio(cRetinaFactor());
|
||||
|
Reference in New Issue
Block a user