diff --git a/src/wayland/server/outputdevice_interface.cpp b/src/wayland/server/outputdevice_interface.cpp index 1b7f53836e..81829bb098 100644 --- a/src/wayland/server/outputdevice_interface.cpp +++ b/src/wayland/server/outputdevice_interface.cpp @@ -114,7 +114,10 @@ OutputDeviceInterface::OutputDeviceInterface(Display *display, QObject *parent) connect(this, &OutputDeviceInterface::colorCurvesChanged, this, [this] { d->updateColorCurves(); }); } -OutputDeviceInterface::~OutputDeviceInterface() = default; +OutputDeviceInterface::~OutputDeviceInterface() +{ + d->globalRemove(); +} QSize OutputDeviceInterface::pixelSize() const {