Fix compilation with gcc 4.8
Reviewers: graesslin Reviewed By: graesslin Subscribers: plasma-devel Projects: #plasma Differential Revision: https://phabricator.kde.org/D1237
This commit is contained in:
parent
d44b2ee30d
commit
cce8090787
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ void SubSurfaceInterface::Private::create(ClientConnection *client, quint32 vers
|
|||
surface->d_func()->subSurfacePending.slideIsSet = false;
|
||||
parent->d_func()->addChild(QPointer<SubSurfaceInterface>(q));
|
||||
|
||||
QObject::connect(surface, &QObject::destroyed, q,
|
||||
QObject::connect(surface.data(), &QObject::destroyed, q,
|
||||
[this] {
|
||||
// from spec: "If the wl_surface associated with the wl_subsurface is destroyed,
|
||||
// the wl_subsurface object becomes inert. Note, that destroying either object
|
||||
|
|
Loading…
Reference in a new issue