Commit ed646896 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Small fix to get a smaller size when a video ends.

parent f38e73af
......@@ -52,17 +52,18 @@ public:
void *request( vout_thread_t *, int *, int *,
unsigned int *, unsigned int * );
void release( void * );
int control( void *, int, va_list );
void release( void * );
int control( void *, int, va_list );
private:
intf_thread_t *p_intf;
vlc_mutex_t lock;
vout_thread_t *p_vout;
vlc_mutex_t lock;
signals:
//void askResize();
void askVideoWidgetToShow();
//void askResize();
public slots:
void SetSizing( unsigned int, unsigned int );
......
......@@ -529,7 +529,7 @@ void MainInterface::debug()
*/
QSize MainInterface::sizeHint() const
{
int nwidth = controls->size().width();
int nwidth = controls->sizeHint().width();
int nheight = controls->size().height()
+ menuBar()->size().height()
+ statusBar()->size().height();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment