Commit 2f53abd0 authored by Pierre Lamot's avatar Pierre Lamot Committed by Pierre Lamot
Browse files

qt: remove unnecessary dependency upon MainInterface from VideoWindowHandler

parent ec1a1670
......@@ -23,10 +23,9 @@
#include <vlc_vout_window.h>
VideoWindowHandler::VideoWindowHandler(qt_intf_t* intf, MainInterface* mainInterace,QObject *parent)
VideoWindowHandler::VideoWindowHandler(qt_intf_t* intf, QObject *parent)
: QObject(parent)
, m_intf(intf)
, m_interface(mainInterace)
{
/* Does the interface resize to video size or the opposite */
m_autoresize = var_InheritBool( m_intf, "qt-video-autoresize" );
......
......@@ -35,7 +35,7 @@ class VideoWindowHandler : public QObject
{
Q_OBJECT
public:
explicit VideoWindowHandler(qt_intf_t *intf, MainInterface* mainInterace, QObject *parent = nullptr);
explicit VideoWindowHandler(qt_intf_t *intf, QObject *parent = nullptr);
public:
void setWindow(QWindow* window);
......@@ -59,7 +59,6 @@ protected slots:
private:
qt_intf_t *m_intf = nullptr;
MainInterface* m_interface = nullptr;
QWindow* m_window = nullptr;
bool m_videoFullScreen = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment