Update windows title

This commit is contained in:
2015-01-17 17:19:53 +00:00
parent e07ef54cb9
commit a8b66f88ea
+4 -2
View File
@@ -169,7 +169,8 @@ Bool VideoSubWindow::loadFile( QString cFilename, Bool bForceDialog )
m_cFilename = cFilename;
m_cWindowShortName = QFileInfo( cFilename ).fileName();
setWindowName( m_pCurrStream->getStreamInformationString() );
//setWindowName( m_pCurrStream->getStreamInformationString() );
setWindowName( m_cWindowShortName );
return true;
}
@@ -195,7 +196,8 @@ Bool VideoSubWindow::loadFile( PlaYUVerStreamInfo* streamInfo )
m_cFilename = streamInfo->m_cFilename;
m_cWindowShortName = QFileInfo( streamInfo->m_cFilename ).fileName();
setWindowName( m_pCurrStream->getStreamInformationString() );
//setWindowName( m_pCurrStream->getStreamInformationString() );
setWindowName( m_cWindowShortName );
return true;
}