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 };