qt: Add Show non-primary monitors option

This commit is contained in:
Cacodemon345
2022-07-10 11:41:02 +06:00
parent 3a57c8dc31
commit c0c873151b
8 changed files with 69 additions and 10 deletions

View File

@@ -447,7 +447,7 @@ RendererStack::blitCommon(int x, int y, int w, int h)
void RendererStack::closeEvent(QCloseEvent* event)
{
if (cpu_thread_run == 0 || is_quit == 0) { event->accept(); return; }
if (cpu_thread_run == 0 || is_quit == 1) { event->accept(); return; }
event->ignore();
main_window->close();
}