# HG changeset patch # User smxx # Date 1266428312 0 # Node ID 389e8b286afe6f0b774bfb3338a8f138e432d093 # Parent 8c3f078bc67d67c04be4eb1b9ad114f8c80dbef6 Frontend: * Possible fix to engine window losing it's focus while Xfire is active (too sporadic to test) diff -r 8c3f078bc67d -r 389e8b286afe QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Tue Feb 16 03:03:26 2010 +0000 +++ b/QTfrontend/hwform.cpp Wed Feb 17 17:38:32 2010 +0000 @@ -788,10 +788,12 @@ pRegisterServer = 0; } //setVisible(false); + setFocusPolicy(Qt::NoFocus); break; } case gsFinished: { //setVisible(true); + setFocusPolicy(Qt::StrongFocus); GoBack(); Music(ui.pageOptions->CBEnableFrontendMusic->isChecked()); if (wBackground) wBackground->startAnimation(); @@ -801,6 +803,7 @@ } default: { //setVisible(true); + setFocusPolicy(Qt::StrongFocus); quint8 id = ui.Pages->currentIndex(); if (id == ID_PAGE_INGAME) { GoBack();