fixed overview for 0.8.34.dev

This commit is contained in:
John Preston 2015-06-28 16:15:07 +03:00
parent 51451181f8
commit 4f3aaa3e7f
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}