Don't leak screens when cleaning up

Found using ASAN.
master
Aleix Pol 2020-08-14 16:50:39 +02:00
parent 8de0f8223d
commit 71de41a570
1 changed files with 4 additions and 1 deletions

View File

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