mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed SearchWindow memory leak (#1899)
This commit is contained in:
parent
359adbce15
commit
ebb4ffe36d
1 changed files with 1 additions and 0 deletions
|
@ -730,6 +730,7 @@ void Split::showSearch()
|
|||
{
|
||||
SearchPopup *popup = new SearchPopup();
|
||||
|
||||
popup->setAttribute(Qt::WA_DeleteOnClose);
|
||||
popup->setChannel(this->getChannel());
|
||||
popup->show();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue