Commit 153d5965 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.
parent b0630313
Pipeline #140854 failed with stage
in 14 minutes and 19 seconds
......@@ -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();
......
......@@ -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();
......
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