2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

New profiles Xcode build ready, couple of retina-support bugs fixed.

This commit is contained in:
John Preston
2016-06-06 14:35:49 +03:00
parent 4ef5596fbc
commit 1c0548d1e8
14 changed files with 685 additions and 368 deletions

View File

@@ -2208,7 +2208,7 @@ void MainWidget::showMediaOverview(PeerData *peer, MediaOverviewType type, bool
App::wnd()->getTitle()->updateBackButton();
}
void MainWidget::showWideSection(Window::SectionMemento &memento) {
void MainWidget::showWideSection(const Window::SectionMemento &memento) {
App::wnd()->hideSettings();
if (_wideSection && _wideSection->showInternal(&memento)) {
return;
@@ -2283,7 +2283,7 @@ Window::SectionSlideParams MainWidget::prepareDialogsAnimation() {
return prepareShowAnimation(false);
}
void MainWidget::showWideSectionAnimated(Window::SectionMemento *memento, bool back) {
void MainWidget::showWideSectionAnimated(const Window::SectionMemento *memento, bool back) {
QPixmap animCache;
auto newWideGeometry = QRect(_history->x(), _playerHeight, _history->width(), height() - _playerHeight);