From 3c2a72d793774ffe84a73336e2b5202ded10b8ab Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 6 Jan 2015 00:46:34 +0000 Subject: [PATCH] Fix some changed signals --- app/ModulesHandle.cpp | 1 + app/PropertiesSidebar.cpp | 2 +- app/plaYUVerApp.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/ModulesHandle.cpp b/app/ModulesHandle.cpp index 9173dc3..4ec40fe 100644 --- a/app/ModulesHandle.cpp +++ b/app/ModulesHandle.cpp @@ -205,6 +205,7 @@ Void ModulesHandle::processOpt( Int index ) Q_ASSERT( 0 ); } } + emit changed(); } } diff --git a/app/PropertiesSidebar.cpp b/app/PropertiesSidebar.cpp index ccb8926..5383623 100644 --- a/app/PropertiesSidebar.cpp +++ b/app/PropertiesSidebar.cpp @@ -482,7 +482,7 @@ Void FramePropertiesSideBar::setData( PlaYUVerFrame* pcFrame, Bool isPlaying ) } } setEnabled( true ); - if( m_pcFrame != pcFrame || !(*pbMainPlaySwitch) ) + if( m_pcFrame || !(*pbMainPlaySwitch) ) { m_pcFrame = pcFrame; updateDataHistogram(); diff --git a/app/plaYUVerApp.cpp b/app/plaYUVerApp.cpp index 1f27d6b..a2c7fff 100644 --- a/app/plaYUVerApp.cpp +++ b/app/plaYUVerApp.cpp @@ -454,6 +454,7 @@ Void plaYUVerApp::updateZoomFactorSBox() Void plaYUVerApp::update() { SubWindowHandle *new_window = activeSubWindow(); + QCoreApplication::processEvents(); if( activeSubWindow() != m_pcCurrentSubWindow ) { if( activeSubWindow() )