Fix inital image size

This commit is contained in:
2014-03-22 19:37:17 +00:00
parent 473488bb1d
commit b7365875a3
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ bool SubWindowHandle::loadFile( const QString &fileName )
QApplication::restoreOverrideCursor();
refreshFrame();
normalSize();
//normalSize();
m_cWindowName = QString( " " );
m_cWindowName = m_pCurrStream->getStreamInformationString();
+2 -2
View File
@@ -99,8 +99,8 @@ void ViewArea::clearMask()
void ViewArea::setZoomFactor( double f )
{
if( f == m_zoomFactor )
return;
//if( f == m_zoomFactor )
//return;
m_zoomFactor = f;
emit( zoomFactorChanged( m_zoomFactor ) );
+1 -1
View File
@@ -126,7 +126,7 @@ void plaYUVerApp::open()
statusBar()->showMessage( tr( "File loaded" ), 2000 );
interfaceChild->show();
connect( interfaceChild->getViewArea(), SIGNAL( positionChanged(const QPoint &) ), this, SLOT( updatePixelValueStatusBar(const QPoint &) ) );
interfaceChild->zoomToFit();
}
else
{