[directfb] Do not call a pure virtual function

In 688d9f6ec0 the base class
was changed from QWindowSurface to QPlatformBackingStore but
QPlatformBackingStore::resize is pure virtual now.

Change-Id: Ib36f177d80e9458e7e8e34f587e4554c0462e35c
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
bb10
Holger Hans Peter Freyther 2011-09-11 19:05:15 +02:00 committed by Qt by Nokia
parent d8fc8aa585
commit 421abf8d59
1 changed files with 0 additions and 2 deletions

View File

@ -92,8 +92,6 @@ void QDirectFbBackingStore::flush(QWindow *, const QRegion &region, const QPoint
void QDirectFbBackingStore::resize(const QSize &size, const QRegion& reg)
{
QPlatformBackingStore::resize(size, reg);
//Have to add 1 ref ass it will be removed by deleting the old blitter in setBlittable
m_dfbSurface->AddRef(m_dfbSurface);
QDirectFbBlitter *blitter = new QDirectFbBlitter(size,m_dfbSurface);