Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWayland Server
Commits
b2086d9f
Commit
b2086d9f
authored
Mar 22, 2021
by
Vlad Zahorodnii
Browse files
Remove noop destructors
parent
bacec9f0
Pipeline
#55210
passed with stage
in 7 minutes and 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/server/xdgforeign_v2_interface.cpp
View file @
b2086d9f
...
...
@@ -243,8 +243,6 @@ XdgExportedV2Interface::XdgExportedV2Interface(SurfaceInterface *surface, wl_res
connect
(
surface
,
&
QObject
::
destroyed
,
this
,
&
XdgExportedV2Interface
::
handleSurfaceDestroyed
);
}
XdgExportedV2Interface
::~
XdgExportedV2Interface
()
=
default
;
SurfaceInterface
*
XdgExportedV2Interface
::
surface
()
{
return
m_surface
;
...
...
@@ -273,8 +271,6 @@ XdgImportedV2Interface::XdgImportedV2Interface(XdgExportedV2Interface *exported,
connect
(
exported
,
&
QObject
::
destroyed
,
this
,
&
XdgImportedV2Interface
::
handleExportedDestroyed
);
}
XdgImportedV2Interface
::~
XdgImportedV2Interface
()
=
default
;
SurfaceInterface
*
XdgImportedV2Interface
::
child
()
const
{
return
m_child
;
...
...
src/server/xdgforeign_v2_interface_p.h
View file @
b2086d9f
...
...
@@ -67,7 +67,6 @@ class XdgExportedV2Interface : public QObject, QtWaylandServer::zxdg_exported_v2
public:
explicit
XdgExportedV2Interface
(
SurfaceInterface
*
surface
,
wl_resource
*
resource
);
~
XdgExportedV2Interface
()
override
;
SurfaceInterface
*
surface
();
...
...
@@ -87,7 +86,6 @@ class XdgImportedV2Interface : public QObject, QtWaylandServer::zxdg_imported_v2
Q_OBJECT
public:
explicit
XdgImportedV2Interface
(
XdgExportedV2Interface
*
exported
,
wl_resource
*
resource
);
~
XdgImportedV2Interface
()
override
;
SurfaceInterface
*
child
()
const
;
SurfaceInterface
*
surface
()
const
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment