From 060940e426a04e78cf55fbb9f2d632d50115db8b Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 22 Mar 2021 20:00:57 +0200 Subject: [PATCH] Remove unused method in XdgImporterV2Interface --- src/wayland/xdgforeign_v2_interface.cpp | 5 ----- src/wayland/xdgforeign_v2_interface_p.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/wayland/xdgforeign_v2_interface.cpp b/src/wayland/xdgforeign_v2_interface.cpp index eacae5167c..39157332ad 100644 --- a/src/wayland/xdgforeign_v2_interface.cpp +++ b/src/wayland/xdgforeign_v2_interface.cpp @@ -90,11 +90,6 @@ XdgImporterV2Interface::XdgImporterV2Interface(Display *display, XdgForeignV2Int { } -XdgImportedV2Interface *XdgImporterV2Interface::importedSurface(const QString &handle) -{ - return m_importedSurfaces.value(handle); -} - SurfaceInterface *XdgImporterV2Interface::transientFor(SurfaceInterface *surface) { auto it = m_parents.constFind(surface); diff --git a/src/wayland/xdgforeign_v2_interface_p.h b/src/wayland/xdgforeign_v2_interface_p.h index f3006e8d5c..de87ecdfec 100644 --- a/src/wayland/xdgforeign_v2_interface_p.h +++ b/src/wayland/xdgforeign_v2_interface_p.h @@ -53,7 +53,6 @@ class XdgImporterV2Interface : public QObject, public QtWaylandServer::zxdg_impo public: XdgImporterV2Interface(Display *display, XdgForeignV2Interface *foreign); - XdgImportedV2Interface *importedSurface(const QString &handle); SurfaceInterface *transientFor(SurfaceInterface *surface); protected: @@ -62,7 +61,6 @@ protected: private: XdgForeignV2Interface *m_foreign; - QHash m_importedSurfaces; QHash m_parents; //child->parent hash QHash m_children; //parent->child hash };