summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwindow.cpp')
-rw-r--r--src/gui/kernel/qwindow.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp
index 2996c00391..c29bc7002d 100644
--- a/src/gui/kernel/qwindow.cpp
+++ b/src/gui/kernel/qwindow.cpp
@@ -426,11 +426,6 @@ QPlatformWindow *QWindow::handle() const
return d->platformWindow;
}
-QWindowSurface *QWindow::surface() const
-{
- Q_D(const QWindow);
- return d->surface;
-}
bool QWindow::setKeyboardGrabEnabled(bool grab)
{
@@ -531,11 +526,6 @@ bool QWindow::event(QEvent *event)
destroy();
break;
- case QEvent::Expose:
- if (d->surface)
- d->surface->flush(this, static_cast<QExposeEvent *>(event)->region, QPoint());
- break;
-
default:
return QObject::event(event);
}