From: Jean-Philippe Andre Date: Thu, 29 Jan 2009 22:30:08 +0000 (+0100) Subject: Qt: fix video widget size X-Git-Tag: 1.0.0-pre1~959 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=828d8c8a67910e1df772832da0004748de040279;p=vlc Qt: fix video widget size --- 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,