[mythtv] [BUG + FIX] Compiling against QT Embedded 3.1.2

Wayne A. Hogue II mythtv at chiphead.net
Thu Jan 15 10:53:15 EST 2004


Here is a patch. 

I still have one small glitch in the GUI I have notbeen able to 
resolve.  On returning from watching a recording, the very top line 
above the listing of recordings doesn't get drawn till you open a 
dialogue.  Its minor, but bugs me.  If anyone knows how to signal this 
area to redraw, the gui would be complete.

-Wayne

Felix Hermann Hoßfeld wrote:

> Hello!
>
> The CVS of last night doesn't compile against QT Embedded 3.1.2 on my 
> Debian testing deistribution.
>
> It fails because WNoAutoErase is not defined. From my QT-X11 Sources I 
> know that WNoAutoErase is defined as WRepaintNoErase | WResizeNoErase.
>
> Since WRepaintNoErase and WResizeNoErase are defined in the embedded 
> version it should be sufficient to change line 671 in 
> libs/libmyth/mythdialog.cpp from
>
> flags |= WNoAutoErase;
>
> to
>
> flags |= WRepaintNoErase | WResizeNoErase;
>
> I hope a patch is not necessary for this one line.
>
> Otherwise it seems to compile flawlessly but I can't test the binaries 
> because I RMAed my PVR-350.
>
> Cheers
>
> Felix Hoßfeld
>
> _________________________________________________________________
> 5 neue Buddies = 50 FreeSMS. http://messenger-mania.msn.de MSN 
> Messenger empfehlen und kräftig abräumen!
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

-------------- next part --------------
Index: mythdialogs.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmyth/mythdialogs.cpp,v
retrieving revision 1.49
diff -b -B -d -u -w -r1.49 mythdialogs.cpp
--- mythdialogs.cpp	14 Jan 2004 05:03:58 -0000	1.49
+++ mythdialogs.cpp	15 Jan 2004 15:49:49 -0000
@@ -669,10 +669,9 @@
 void MythDialog::setNoErase(void)
 {
     WFlags flags = getWFlags();
-#ifdef QWS
-    flags |= WNoAutoErase;
-#else
     flags |= WRepaintNoErase;
+#ifdef QWS
+    flags |= WResizeNoErase;
 #endif
     setWFlags(flags);
 }


More information about the mythtv-dev mailing list