From 8f582e8e0b8d22f35ca6439cdc28b3a7c93ce3d3 Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Wed, 22 Aug 2018 13:23:20 +0200 Subject: [PATCH] Client: Remove unused constructor for xdg-shell v5 Change-Id: Idcb2220237b3dba0a296fbb9a86497a3d0022d5f Reviewed-by: Paul Olav Tvete --- .../shellintegration/xdg-shell-v5/qwaylandxdgshellv5.cpp | 5 ----- .../shellintegration/xdg-shell-v5/qwaylandxdgshellv5_p.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell-v5/qwaylandxdgshellv5.cpp b/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell-v5/qwaylandxdgshellv5.cpp index b893b36b281..4cbafbd71b5 100644 --- a/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell-v5/qwaylandxdgshellv5.cpp +++ b/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell-v5/qwaylandxdgshellv5.cpp @@ -52,11 +52,6 @@ QT_BEGIN_NAMESPACE namespace QtWaylandClient { -QWaylandXdgShellV5::QWaylandXdgShellV5(struct ::xdg_shell_v5 *shell) - : QtWayland::xdg_shell_v5(shell) -{ -} - QWaylandXdgShellV5::QWaylandXdgShellV5(struct ::wl_registry *registry, uint32_t id) : QtWayland::xdg_shell_v5(registry, id, 1) { diff --git a/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell-v5/qwaylandxdgshellv5_p.h b/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell-v5/qwaylandxdgshellv5_p.h index 5e3badeed73..67e5d32a7a3 100644 --- a/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell-v5/qwaylandxdgshellv5_p.h +++ b/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell-v5/qwaylandxdgshellv5_p.h @@ -75,7 +75,6 @@ class QWaylandXdgPopupV5; class Q_WAYLAND_CLIENT_EXPORT QWaylandXdgShellV5 : public QtWayland::xdg_shell_v5 { public: - QWaylandXdgShellV5(struct ::xdg_shell_v5 *shell); QWaylandXdgShellV5(struct ::wl_registry *registry, uint32_t id); ~QWaylandXdgShellV5() override;