Fix wait cursor in file resolution dialog.
This commit is contained in:
1 parent
40fbe0b123
commit
7dc366e5df
1 file changed
+2
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user