Fix inital image size
This commit is contained in:
@@ -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
@@ -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 ) );
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user