diff --git a/plugins/qpa/integration.cpp b/plugins/qpa/integration.cpp index de1c97c052..ebce5165ac 100644 --- a/plugins/qpa/integration.cpp +++ b/plugins/qpa/integration.cpp @@ -44,7 +44,10 @@ Integration::Integration() { } -Integration::~Integration() = default; +Integration::~Integration() +{ + qDeleteAll(m_screens); +} bool Integration::hasCapability(Capability cap) const {