Compile after latest change.
parent
57b7c82560
commit
15d73f83bd
|
|
@ -78,5 +78,5 @@ QPlatformWindow *QMinimalIntegration::createPlatformWindow(QWindow *window) cons
|
|||
QWindowSurface *QMinimalIntegration::createWindowSurface(QWindow *window, WId winId) const
|
||||
{
|
||||
Q_UNUSED(winId);
|
||||
return new QMinimalWindowSurface(window->widget());
|
||||
return new QMinimalWindowSurface(window);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QMinimalWindowSurface::QMinimalWindowSurface(QWidget *window)
|
||||
QMinimalWindowSurface::QMinimalWindowSurface(QWindow *window)
|
||||
: QWindowSurface(window)
|
||||
{
|
||||
//qDebug() << "QMinimalWindowSurface::QMinimalWindowSurface:" << (long)this;
|
||||
|
|
@ -62,9 +62,9 @@ QPaintDevice *QMinimalWindowSurface::paintDevice()
|
|||
return &mImage;
|
||||
}
|
||||
|
||||
void QMinimalWindowSurface::flush(QWidget *widget, const QRegion ®ion, const QPoint &offset)
|
||||
void QMinimalWindowSurface::flush(QWindow *window, const QRegion ®ion, const QPoint &offset)
|
||||
{
|
||||
Q_UNUSED(widget);
|
||||
Q_UNUSED(window);
|
||||
Q_UNUSED(region);
|
||||
Q_UNUSED(offset);
|
||||
|
||||
|
|
|
|||
|
|
@ -45,17 +45,18 @@
|
|||
#include <QtGui/private/qwindowsurface_p.h>
|
||||
|
||||
#include <QtGui/QPlatformWindow>
|
||||
#include <QtGui/QImage>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QMinimalWindowSurface : public QWindowSurface
|
||||
{
|
||||
public:
|
||||
QMinimalWindowSurface(QWidget *window);
|
||||
QMinimalWindowSurface(QWindow *window);
|
||||
~QMinimalWindowSurface();
|
||||
|
||||
QPaintDevice *paintDevice();
|
||||
void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset);
|
||||
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset);
|
||||
void resize(const QSize &size);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Reference in New Issue