Don't leak screens when cleaning up

Found using ASAN.
This commit is contained in:
Aleix Pol 2020-08-14 16:50:39 +02:00
parent 8de0f8223d
commit 71de41a570

View file

@ -44,7 +44,10 @@ Integration::Integration()
{
}
Integration::~Integration() = default;
Integration::~Integration()
{
qDeleteAll(m_screens);
}
bool Integration::hasCapability(Capability cap) const
{