From 828d8c8a67910e1df772832da0004748de040279 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Thu, 29 Jan 2009 23:30:08 +0100 Subject: [PATCH] Qt: fix video widget size --- modules/gui/qt4/main_interface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 8f54f33843..e8ad9c6535 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -567,6 +567,7 @@ QSize MainInterface::sizeHint() const int nwidth = controls->sizeHint().width(); int nheight = controls->isVisible() ? controls->size().height() + + inputC->size().height() + menuBar()->size().height() + statusBar()->size().height() : 0 ; @@ -635,7 +636,7 @@ private: /** * README * Thou shall not call/resize/hide widgets from on another thread. - * This is wrong, and this is TEH reason to emit signals on those Video Functions + * This is wrong, and this is THE reason to emit signals on those Video Functions **/ void *MainInterface::requestVideo( vout_thread_t *p_nvout, int *pi_x, int *pi_y, unsigned int *pi_width, -- 2.39.2