core/renderbackend: remove unused parent object

As the render backend is always stored in a unique pointer, using a Qt parent
might even cause crashes
This commit is contained in:
Xaver Hugl 2024-07-22 15:56:16 +02:00
parent 32c696b45e
commit 32b117dbd8
2 changed files with 0 additions and 7 deletions

View file

@ -147,11 +147,6 @@ std::chrono::nanoseconds OutputFrame::predictedRenderTime() const
return m_predictedRenderTime;
}
RenderBackend::RenderBackend(QObject *parent)
: QObject(parent)
{
}
OutputLayer *RenderBackend::cursorLayer(Output *output)
{
return nullptr;

View file

@ -119,8 +119,6 @@ class KWIN_EXPORT RenderBackend : public QObject
Q_OBJECT
public:
explicit RenderBackend(QObject *parent = nullptr);
virtual CompositingType compositingType() const = 0;
virtual OverlayWindow *overlayWindow() const;