rendered paste bodyIndex: libs/libmythui/mythmainwindow.cpp
===================================================================
--- libs/libmythui/mythmainwindow.cpp (revision 16658)
+++ libs/libmythui/mythmainwindow.cpp (working copy)
@@ -265,9 +265,9 @@
return MythMainWindow::getMainWindow()->GetCurrentPainter();
}
-#ifdef USE_OPENGL_PAINTER
-#define QWidget QGLWidget
-#endif
+//#ifdef USE_OPENGL_PAINTER
+//#define QWidget QGLWidget
+//#endif
MythMainWindow::MythMainWindow(const bool useDB)
: QWidget(NULL, "mainwindow")
@@ -656,7 +656,7 @@
#endif
setWindowFlags(flags);
- setAutoFillBackground(false);
+ //setAutoFillBackground(false);
/* FIXME these two lines should go away */
setFont(gContext->GetMediumFont());
Index: libs/libmythui/mythmainwindow.h
===================================================================
--- libs/libmythui/mythmainwindow.h (revision 16658)
+++ libs/libmythui/mythmainwindow.h (working copy)
@@ -49,13 +49,13 @@
class MythMainWindowPrivate;
// Cheat moc
-#ifdef USE_OPENGL_PAINTER
-#define QWidget QGLWidget
-#endif
+//#ifdef USE_OPENGL_PAINTER
+//#define QWidget QGLWidget
+//#endif
class MythMainWindow : public QWidget
{
Q_OBJECT
-#undef QWidget
+//#undef QWidget
public:
void Init(void);
void Show(void);
Index: libs/libmyth/mythdialogs.cpp
===================================================================
--- libs/libmyth/mythdialogs.cpp (revision 16658)
+++ libs/libmyth/mythdialogs.cpp (working copy)
@@ -111,8 +111,8 @@
void MythDialog::setNoErase(void)
{
// setAttribute(Qt::WA_OpaquePaintEvent, false);
- setAttribute(Qt::WA_NoSystemBackground, true);
- setAutoFillBackground(false);
+// setAttribute(Qt::WA_NoSystemBackground, true);
+ setAutoFillBackground(true);
}
bool MythDialog::onMediaEvent(MythMediaDevice*)