[mythtv] [PATCH] Mythvideo dont come back from selected

Vladimir Moushkov vlindos at nucleusys.com
Thu Nov 11 11:16:18 UTC 2004


--- videoselected.cpp   2004-10-31 14:06:51.000000000 +0200
+++ videoselected.cpp   2004-11-10 16:23:39.000000000 +0200
@@ -80,7 +80,6 @@
     for (unsigned int i = 0; i < actions.size() && !handled; i++)
     {
         QString action = actions[i];
-        handled = true;
 
         if (action == "SELECT" && allowselect)
         {




--
Vladimir Moushkov

System Integrator at Nucleusys Bulgaria
WWW: www.nucleusys.com
E-Mail: vlindos at nucleusys.com

On Sun, 2004-11-07 at 21:37 +0000, j.rios wrote:
> Hello,
>   Ive been trying to follow this problem and today i finally found where
> i could fix it. I dunno if this is the right place to fix it or not. The
> problem is that once i have in MythVideo a movie selected ready to play
> i can not come back to gallery. Ive fixed the problem managing the event
> 'ESCAPE' into the VideoSelected:keyPressEvent adding the condition...
> 
> ----- into void VideoSelected::keyPressEvent(QKeyEvent *e)
> 
>         if (action == "SELECT" && allowselect)
>         {
>             selected(curitem);
>             return;
>         }
>         else if( action == "ESCAPE" )
>         {
>             exitWin();
>             return;
>         }
> -----
> 
> Is this a good way to fix it or should this event managed somewhere
> else? for now this is working for me.
> 
> btw thanks to all for a great toy :)
> 
> greets
> Juan Rios
> 
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list