Fix problem with frame swapping in modules

This commit is contained in:
2018-05-07 22:10:35 +01:00
parent bd0e1296b4
commit 412cd8ccb7
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -598,6 +598,7 @@ void ModulesHandle::swapModulesWindowsIf( CalypAppModuleIf* pcCurrModuleIf )
VideoSubWindow* auxWindowHandle = pcCurrModuleIf->m_pcSubWindow[0];
pcCurrModuleIf->m_pcSubWindow[0] = pcCurrModuleIf->m_pcSubWindow[1];
pcCurrModuleIf->m_pcSubWindow[1] = auxWindowHandle;
pcCurrModuleIf->m_pcDisplaySubWindow->updateVideoWindowInfo();
pcCurrModuleIf->apply();
}
}
+2 -1
View File
@@ -110,6 +110,8 @@ public:
VideoSubWindow( enum VideoSubWindowCategories category, QWidget* parent = 0 );
~VideoSubWindow();
void updateVideoWindowInfo();
bool loadFile( QString cFilename, bool bForceDialog = false );
bool loadFile( CalypFileInfo* streamInfo );
void loadAll();
@@ -200,7 +202,6 @@ private:
* zoom to fit
*/
void scaleView( const QSize& size, QPoint center = QPoint() );
void updateVideoWindowInfo();
QSize getScrollSize();