diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-06-15 14:59:26 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-06-19 06:19:13 +0000 |
commit | cf86659c874fcb1d3f88a784cd88a51942e5926b (patch) | |
tree | 07933efbc88a58420f6248111ac6018bf6f547e7 /src/plugins/shellintegration/ivi-shell | |
parent | 9b3260164da42b5edabc6cf6d73b7a35ab38e93d (diff) |
Client: Get rid of QWaylandShellSurface::setType
This shouldn't change any behavior, but lets the shell integrations choose
if they want to use the extremely hacky QWaylandWindow::transientParent().
Hint: Not all shells need the hacks, and not all shells need them in all cases,
and some shells may need even more hacks.
Change-Id: Id105e4feb83cc9c14dcf07dcca55fcd5e63d4a2b
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/plugins/shellintegration/ivi-shell')
-rw-r--r-- | src/plugins/shellintegration/ivi-shell/qwaylandivisurface.cpp | 7 | ||||
-rw-r--r-- | src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/shellintegration/ivi-shell/qwaylandivisurface.cpp b/src/plugins/shellintegration/ivi-shell/qwaylandivisurface.cpp index 871709cdf..10d308ba4 100644 --- a/src/plugins/shellintegration/ivi-shell/qwaylandivisurface.cpp +++ b/src/plugins/shellintegration/ivi-shell/qwaylandivisurface.cpp @@ -75,13 +75,6 @@ QWaylandIviSurface::~QWaylandIviSurface() delete m_extendedWindow; } -void QWaylandIviSurface::setType(Qt::WindowType type, QWaylandWindow *transientParent) -{ - - Q_UNUSED(type) - Q_UNUSED(transientParent) -} - void QWaylandIviSurface::applyConfigure() { m_window->resizeFromApplyConfigure(m_pendingSize); diff --git a/src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h b/src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h index 6ec28e758..f207f0584 100644 --- a/src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h +++ b/src/plugins/shellintegration/ivi-shell/qwaylandivisurface_p.h @@ -62,7 +62,6 @@ public: struct ::ivi_controller_surface *iviControllerSurface); ~QWaylandIviSurface() override; - void setType(Qt::WindowType type, QWaylandWindow *transientParent) override; void applyConfigure() override; private: |