Fix wait cursor in file resolution dialog.

This commit is contained in:
Luis Lucas committed 2014-01-28 02:04:59 +00:00
1 parent 40fbe0b123
commit 7dc366e5df
1 file changed
+2 -2
+2 -2
View File
@@ -70,8 +70,6 @@ ImageInterface::~ImageInterface()
bool ImageInterface::loadFile( const QString &fileName )
{
QApplication::setOverrideCursor( Qt::WaitCursor );
ConfigureResolutionDialog resolutionDialog;
if( resolutionDialog.exec() == QDialog::Rejected )
@@ -79,6 +77,8 @@ bool ImageInterface::loadFile( const QString &fileName )
return false;
}
QApplication::setOverrideCursor( Qt::WaitCursor );
m_currStream.init( fileName, resolutionDialog.getResolution().width(), resolutionDialog.getResolution().height() );
m_currStream.readFrame();