Clean code and fix some issues regarding video handle and subwindow management
This commit is contained in:
1 parent
1f9affe499
commit
d7a8f52756
7 files changed
+56
-105
No files matched your search
@@ -528,10 +528,9 @@ QSize VideoSubWindow::sizeHint() const
|
||||
return maxSize;
|
||||
}
|
||||
|
||||
void VideoSubWindow::closeEvent( QCloseEvent *event )
|
||||
Void VideoSubWindow::closeEvent( QCloseEvent *event )
|
||||
{
|
||||
Bool bAccept = mayClose();
|
||||
bAccept = m_bIsPlaying ? false : bAccept;
|
||||
Bool bAccept = m_bIsPlaying ? false : true;
|
||||
if( bAccept )
|
||||
{
|
||||
event->accept();
|
||||
|
||||
Reference in new issue
Block a user