From 4f3aaa3e7f0d717a9bc0b471dfa9540fa7c49237 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 28 Jun 2015 16:15:07 +0300 Subject: [PATCH] fixed overview for 0.8.34.dev --- Telegram/SourceFiles/overviewwidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/overviewwidget.cpp b/Telegram/SourceFiles/overviewwidget.cpp index 5b9400e57..239c1b8d7 100644 --- a/Telegram/SourceFiles/overviewwidget.cpp +++ b/Telegram/SourceFiles/overviewwidget.cpp @@ -65,6 +65,8 @@ OverviewInner::OverviewInner(OverviewWidget *overview, ScrollArea *scroll, const , _touchTime(0) , _menu(0) { + resize(_width, height()); + App::contextItem(0); _touchSelectTimer.setSingleShot(true); @@ -73,6 +75,7 @@ OverviewInner::OverviewInner(OverviewWidget *overview, ScrollArea *scroll, const setAttribute(Qt::WA_AcceptTouchEvents); connect(&_touchScrollTimer, SIGNAL(timeout()), this, SLOT(onTouchScrollTimer())); + mediaOverviewUpdated(); setMouseTracking(true); }