For-loop clenups

This commit is contained in:
2021-05-30 21:36:49 +01:00
parent e1e5c4eb3c
commit a1b44895b8
2 changed files with 27 additions and 21 deletions
+2 -2
View File
@@ -34,7 +34,7 @@
#include "QtConcurrent/qtconcurrentrun.h"
#include "SubWindowAbstract.h"
#define QT_NO_CONCURRENT
//#define QT_NO_CONCURRENT
/**
* \brief Functions to control data stream from stream information
@@ -765,8 +765,8 @@ bool VideoSubWindow::goToNextFrame( bool bThreaded )
m_cRefreshResult.waitForFinished();
if( bThreaded )
{
refreshFrame();
m_cReadResult = QtConcurrent::run( m_pCurrStream, &CalypStream::readNextFrameFillRGBBuffer );
refreshFrame();
}
else
#endif