• Rémi Denis-Courmont's avatar
    Qt4: fix race in requestVideo and simplify · 61c5a86a
    Rémi Denis-Courmont authored
    We were accessing some main interface variables from random threads
    without serialization. This simply moves the blocking connection signal
    from sole size setting to the whole video widget request call. In the
    process, we can remove two signals. We still need a blocking connection
    signal. It does not add any new deadlock case, since there was already
    blocking connection signal in the same call and in the same direction.
    (cherry picked from commit 7c6ef80c)
    
    Conflicts:
    
    	modules/gui/qt4/main_interface.cpp
    	modules/gui/qt4/main_interface.hpp
    	modules/gui/qt4/qt4.cpp
    61c5a86a
main_interface.hpp 5.98 KB