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

View file

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