disable fix for issue 24 in order to fix issue 123, as suggested by koda
authorsheepluva
Tue, 21 Dec 2010 10:46:52 +0100
changeset 4592 b1fe47b11b99
parent 4590 d9fed5a816e9
child 4594 5645462cc78f
disable fix for issue #24 in order to fix issue 123, as suggested by koda
QTfrontend/hwform.cpp
QTfrontend/hwform.h
QTfrontend/pages.h
--- 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() {};