[mythtv] frontend ui screens not responding to user input on OSX

Nigel Pearson nigel at ind.tansu.com.au
Fri Jun 23 01:31:33 UTC 2006


> I assume that in MythMainWindow.cpp, around line 220 I need to change
> QGLWidget to QWidget, as well as comment out the call to
> setAutoBufferSwap on line 304, but then it complains during the compile
> that QWidget is not a direct base of MythMainWindow.
>
> What other changes have I missed?

	Change the class description of MythMainWindow as well:

% svn diff libs/libmythui
Index: libs/libmythui/mythmainwindow.cpp
===================================================================
--- libs/libmythui/mythmainwindow.cpp     (revision 10272)
+++ libs/libmythui/mythmainwindow.cpp     (working copy)
@@ -218,7 +218,8 @@
  }

  MythMainWindow::MythMainWindow()
-              : QGLWidget(NULL, "mainWindow")
+              : QWidget(NULL, "mainWindow")
+              //: QGLWidget(NULL, "mainWindow")
  {
      d = new MythMainWindowPrivate;

@@ -301,7 +302,7 @@
      RegisterKey("Global", "8", "8", "8");
      RegisterKey("Global", "9", "9", "9");

-    setAutoBufferSwap(false);
+    //setAutoBufferSwap(false);

      d->gestureTimer = new QTimer(this);
      connect(d->gestureTimer, SIGNAL(timeout()), this, 
SLOT(mouseTimeout()));
Index: libs/libmythui/mythmainwindow.h
===================================================================
--- libs/libmythui/mythmainwindow.h       (revision 10272)
+++ libs/libmythui/mythmainwindow.h       (working copy)
@@ -43,7 +43,8 @@

  class MythMainWindowPrivate;

-class MythMainWindow : public QGLWidget
+//class MythMainWindow : public QGLWidget
+class MythMainWindow : public QWidget
  {
      Q_OBJECT
    public:

%

--
Nigel Pearson, nigel at ind.tansu.com.au|"I thought I said no shivs."
Telstra Net. Eng., Sydney, Australia |   "This? This is just a
Office: 9202 3900    Fax:  9261 3912 | personal grooming appliance"
Mobile: 0408 664435  Home: 9792 6998 |    Riddick - Pitch Black



More information about the mythtv-dev mailing list