Minor bugfix in the seek slider and format button

This commit is contained in:
jfmcarreira committed 2014-06-01 18:05:49 +01:00
1 parent 13f39eee4b
commit 35f1f34966
4 files changed
+9 -9

No files matched your search

+4 -3
View File
@@ -213,7 +213,7 @@ Void plaYUVerApp::save()
Void plaYUVerApp::format()
{
if( m_pcCurrentSubWindow )
m_pcCurrentSubWindow->loadFile( m_pcCurrentSubWindow->currentFile() );
m_pcCurrentSubWindow->loadFile( m_pcCurrentSubWindow->currentFile(), true );
}
Void plaYUVerApp::closeActiveWindow()
@@ -460,6 +460,7 @@ Void plaYUVerApp::playEvent()
break;
case -3:
m_acPlayingSubWindows.at( i )->close();
m_acPlayingSubWindows.remove( i );
break;
case -4:
m_acPlayingSubWindows.remove( i );
@@ -496,7 +497,7 @@ Void plaYUVerApp::updateTotalFrameNum( UInt total_frame_num )
m_pcTotalFrameNumLabel->setText( QString( tr( "%1" ) ).arg( total_frame_num ) );
}
Void plaYUVerApp::seekEvent( int direction )
Void plaYUVerApp::seekEvent( Int direction )
{
if( m_pcCurrentSubWindow )
{
@@ -516,7 +517,7 @@ Void plaYUVerApp::seekEvent( int direction )
}
}
Void plaYUVerApp::seekSliderEvent( int new_frame_num )
Void plaYUVerApp::seekSliderEvent( Int new_frame_num )
{
if( m_pcCurrentSubWindow )
{