Commit 9641788a authored by Olivier Blin's avatar Olivier Blin Committed by Olivier Blin
Browse files

Fix build with gcc <= 4.5


nullptr is not defined with gcc <= 4.5, use 0 instead.

Change-Id: I90d9170e57258f26b8ba7770a957a135539364de
Reviewed-by: default avatarGiulio Camuffo <giulio.camuffo@jollamobile.com>
Showing with 1 addition and 1 deletion
......@@ -69,7 +69,7 @@ QWaylandSurfaceView::~QWaylandSurfaceView()
if (d->surface) {
QWaylandInputDevice *i = d->surface->compositor()->defaultInputDevice();
if (i->mouseFocus() == this)
i->setMouseFocus(nullptr, QPointF());
i->setMouseFocus(Q_NULLPTR, QPointF());
d->surface->destroy();
d->surface->d_func()->views.removeOne(this);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment