All pastes #947311 Raw Edit

Untitled

public text v1 · immutable
#947311 ·published 2008-03-18 12:29 UTC
rendered paste body
Index: libmythui/mythmainwindow.cpp
===================================================================
--- libmythui/mythmainwindow.cpp        (revision 16643)
+++ libmythui/mythmainwindow.cpp        (working copy)
@@ -659,7 +659,7 @@
 #endif

     reparent(parentWidget(), flags, pos());
-    setAutoFillBackground(false);
+//    setAutoFillBackground(false);

     /* FIXME these two lines should go away */
     setFont(gContext->GetMediumFont());
Index: libmythui/libmythui.pro
===================================================================
--- libmythui/libmythui.pro     (revision 16639)
+++ libmythui/libmythui.pro     (working copy)
@@ -50,13 +50,13 @@
 #      level settings.pro)
 #

-using_x11:using_opengl {
-    DEFINES += USE_OPENGL_PAINTER
-    SOURCES += mythpainter_ogl.cpp
-    HEADERS += mythpainter_ogl.h
-    inc.files += mythpainter_ogl.h
-    LIBS += $$EXTRA_LIBS
-}
+#using_x11:using_opengl {
+#    DEFINES += USE_OPENGL_PAINTER
+#    SOURCES += mythpainter_ogl.cpp
+#    HEADERS += mythpainter_ogl.h
+#    inc.files += mythpainter_ogl.h
+#    LIBS += $$EXTRA_LIBS
+#}

 macx {
     QMAKE_CXXFLAGS += -F/System/Library/Frameworks/Carbon.framework/Frameworks
Index: libmyth/mythdialogs.cpp
===================================================================
--- libmyth/mythdialogs.cpp     (revision 16652)
+++ libmyth/mythdialogs.cpp     (working copy)
@@ -83,6 +83,8 @@
         gContext->ThemeWidget(this);
     }

+    setAutoFillBackground(true);
+
     parent->attach(this);
     m_parent = parent;
 }
@@ -110,9 +112,6 @@

 void MythDialog::setNoErase(void)
 {
-//    setAttribute(Qt::WA_OpaquePaintEvent, false);
-    setAttribute(Qt::WA_NoSystemBackground, true);
-    setAutoFillBackground(false);
 }

 bool MythDialog::onMediaEvent(MythMediaDevice*)