diff --git a/src/playerwindow.cpp b/src/playerwindow.cpp index 3386957..44e462c 100644 --- a/src/playerwindow.cpp +++ b/src/playerwindow.cpp @@ -909,6 +909,7 @@ void PlayerWindow::setupMyUi() QObject::connect(videoWin, SIGNAL(doubleClicked()), this,SLOT(toggleFullscreen())); + QObject::connect(videoWin, SIGNAL(leftClicked()), this,SLOT(togglePause())); QObject::connect(videoWin, SIGNAL(mouseMoveEventsg(QMouseEvent*)), this,SLOT(mouseMoveEvent(QMouseEvent*))); QObject::connect(videoWin, SIGNAL(rectRubberBand(QRect*)), this,SLOT(rubberBandval(QRect*))); //QObject::connect(videoWin, SIGNAL(resizeVideo(int,int)), this,SLOT(resizeVideo(int,int)));