]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/interface_widgets.hpp
qt4: do not access a widget from another thread
[vlc] / modules / gui / qt4 / components / interface_widgets.hpp
index 54447bd4613b87a1101c93d3146f42063e0f80d0..85dc19d83fceffaf44ddd9b729267ddf8e267650 100644 (file)
@@ -66,6 +66,7 @@ private:
     vlc_mutex_t lock;
 signals:
     void askResize();
+    void askVideoToShow();
 private slots:
     void SetMinSize();
 };
@@ -84,10 +85,11 @@ private:
     QLabel *label;
     QHBoxLayout *backgroundLayout;
     virtual void resizeEvent( QResizeEvent *e );
+    virtual void contextMenuEvent( QContextMenuEvent *event );
     int DrawBackground();
     int CleanBackground();
     intf_thread_t *p_intf;
-private slots:
+public slots:
     void setArt( QString );
 };