disable fix for
issue #24 in order to fix issue 123, as suggested by koda
--- a/QTfrontend/hwform.cpp Tue Dec 21 02:17:45 2010 +0100
+++ b/QTfrontend/hwform.cpp Tue Dec 21 10:46:52 2010 +0100
@@ -86,7 +86,7 @@
ui.setupUi(this);
setMinimumSize(760, 580);
- setFocusPolicy(Qt::StrongFocus);
+ //setFocusPolicy(Qt::StrongFocus);
CustomizePalettes();
ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
@@ -308,11 +308,13 @@
}
}
+/*
void HWForm::keyReleaseEvent(QKeyEvent *event)
{
- if (event->key() == Qt::Key_Escape /*|| event->key() == Qt::Key_Backspace*/ )
+ if (event->key() == Qt::Key_Escape)
this->GoBack();
}
+*/
void HWForm::CustomizePalettes()
{
--- a/QTfrontend/hwform.h Tue Dec 21 02:17:45 2010 +0100
+++ b/QTfrontend/hwform.h Tue Dec 21 10:46:52 2010 +0100
@@ -122,7 +122,7 @@
void closeEvent(QCloseEvent *event);
void CustomizePalettes();
void resizeEvent(QResizeEvent * event);
- void keyReleaseEvent(QKeyEvent *event);
+ //void keyReleaseEvent(QKeyEvent *event);
enum PageIDs {
ID_PAGE_SETUP_TEAM = 0,
--- a/QTfrontend/pages.h Tue Dec 21 02:17:45 2010 +0100
+++ b/QTfrontend/pages.h Tue Dec 21 10:46:52 2010 +0100
@@ -74,7 +74,7 @@
Q_UNUSED(parent);
font14 = new QFont("MS Shell Dlg", 14);
- setFocusPolicy(Qt::StrongFocus);
+ //setFocusPolicy(Qt::StrongFocus);
}
virtual ~AbstractPage() {};