Frontend:
* Possible fix to engine window losing it's focus while Xfire is active (too sporadic to test)
--- 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();