Commit e0a66074 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Remove unused method in XdgImporterV2Interface

parent b5eec268
......@@ -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);
......
......@@ -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<QString, XdgImportedV2Interface *> m_importedSurfaces;
QHash<SurfaceInterface *, XdgImportedV2Interface *> m_parents; //child->parent hash
QHash<XdgImportedV2Interface *, SurfaceInterface *> m_children; //parent->child hash
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment