Clean code and fix some issues regarding video handle and subwindow management

This commit is contained in:
jfmcarreira committed 2014-12-30 19:06:05 +00:00
1 parent 1f9affe499
commit d7a8f52756
7 files changed
+56 -105

No files matched your search

+2 -3
View File
@@ -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();