Commit b3c70744 authored by Laurent Montel's avatar Laurent Montel 😁

Don't use nullptr to flags

Summary:
IT seems that it was a error during modernize code by using nullptr
but it's a flags so we can't use it

Reviewers: romangg, zzag

Reviewed By: zzag

Subscribers: zzag, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D25708
parent 005a8ede
......@@ -313,7 +313,7 @@ void XdgTopLevelStable::Private::surfaceConfigureCallback(void *data, struct xdg
s->q->setSize(s->pendingSize);
s->pendingSize = QSize();
}
s->pendingState = nullptr;
s->pendingState = {};
}
void XdgTopLevelStable::Private::configureCallback(void *data, struct xdg_toplevel *xdg_toplevel, int32_t width, int32_t height, struct wl_array *state)
......
......@@ -297,7 +297,7 @@ void XdgTopLevelUnstableV6::Private::surfaceConfigureCallback(void *data, struct
s->q->setSize(s->pendingSize);
s->pendingSize = QSize();
}
s->pendingState = nullptr;
s->pendingState = {};
}
void XdgTopLevelUnstableV6::Private::configureCallback(void *data, struct zxdg_toplevel_v6 *xdg_toplevel, int32_t width, int32_t height, struct wl_array *state)
......
Markdown is supported
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