qt: Restore Close button on monitor windows

This commit is contained in:
Cacodemon345
2022-07-05 17:57:25 +06:00
parent a809942d4f
commit 85baf0c7fb
3 changed files with 9 additions and 1 deletions

View File

@@ -443,3 +443,10 @@ RendererStack::blitCommon(int x, int y, int w, int h)
emit blitToRenderer(currentBuf, sx, sy, sw, sh);
currentBuf = (currentBuf + 1) % imagebufs.size();
}
void RendererStack::closeEvent(QCloseEvent* event)
{
event->ignore();
main_window->close();
}