[vlc-commits] Qt: CoverArtLabel: fix doubleclick openings using item context

Francois Cartegnie git at videolan.org
Mon Jun 4 20:39:19 CEST 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jun  4 15:34:12 2012 +0200| [24c3ed9f574ea29efca9f41ddba727be7ca68f25] | committer: Francois Cartegnie

Qt: CoverArtLabel: fix doubleclick openings using item context

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24c3ed9f574ea29efca9f41ddba727be7ca68f25
---

 modules/gui/qt4/components/interface_widgets.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/interface_widgets.hpp b/modules/gui/qt4/components/interface_widgets.hpp
index a8869f7..9960080 100644
--- a/modules/gui/qt4/components/interface_widgets.hpp
+++ b/modules/gui/qt4/components/interface_widgets.hpp
@@ -234,7 +234,7 @@ public:
 protected:
     virtual void mouseDoubleClickEvent( QMouseEvent *event )
     {
-        if( qobject_cast<MetaPanel *>(this->window()) == NULL )
+        if( ! p_item && qobject_cast<MetaPanel *>(this->window()) == NULL )
         {
             THEDP->mediaInfoDialog();
         }



More information about the vlc-commits mailing list