Do not delete close window on screenCountChanged
Not needed there and causes crash.
This commit is contained in:
parent
fcae2f3c12
commit
4471e8a41b
1 changed files with 0 additions and 1 deletions
|
@ -1915,7 +1915,6 @@ void PresentWindowsEffect::screenCountChanged()
|
||||||
{
|
{
|
||||||
if (!isActive())
|
if (!isActive())
|
||||||
return;
|
return;
|
||||||
delete m_closeView;
|
|
||||||
while (!m_dropTargets.empty()) {
|
while (!m_dropTargets.empty()) {
|
||||||
delete m_dropTargets.takeFirst();
|
delete m_dropTargets.takeFirst();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue