wayland: Remove unpolish() calls

It's leftover after the times when widget style was using wayland
connection. Breeze had to destroy all wayland resources before
terminating the internal connection.
This commit is contained in:
Vlad Zahorodnii 2022-02-21 21:49:10 +02:00
parent b063031313
commit 153d5965f8
2 changed files with 0 additions and 8 deletions

View file

@ -23,7 +23,6 @@
#include <QAbstractEventDispatcher> #include <QAbstractEventDispatcher>
#include <QPluginLoader> #include <QPluginLoader>
#include <QSocketNotifier> #include <QSocketNotifier>
#include <QStyle>
#include <QThread> #include <QThread>
#include <QtConcurrentRun> #include <QtConcurrentRun>
@ -89,9 +88,6 @@ WaylandTestApplication::~WaylandTestApplication()
delete m_xwayland; delete m_xwayland;
m_xwayland = nullptr; m_xwayland = nullptr;
destroyWorkspace(); destroyWorkspace();
if (QStyle *s = style()) {
s->unpolish(this);
}
destroyInputMethod(); destroyInputMethod();
destroyCompositor(); destroyCompositor();
destroyInput(); destroyInput();

View file

@ -36,7 +36,6 @@
#include <QCommandLineParser> #include <QCommandLineParser>
#include <QFileInfo> #include <QFileInfo>
#include <QProcess> #include <QProcess>
#include <QStyle>
#include <QDebug> #include <QDebug>
#include <QWindow> #include <QWindow>
#include <QDBusInterface> #include <QDBusInterface>
@ -130,9 +129,6 @@ ApplicationWayland::~ApplicationWayland()
m_xwayland = nullptr; m_xwayland = nullptr;
destroyWorkspace(); destroyWorkspace();
if (QStyle *s = style()) {
s->unpolish(this);
}
destroyInputMethod(); destroyInputMethod();
destroyCompositor(); destroyCompositor();
destroyInput(); destroyInput();