Remove unused method in XdgImporterV2Interface
This commit is contained in:
parent
77a065e8de
commit
060940e426
2 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue