1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Do better th an QSizePolicy::Fixed by setting min/max heights too

This commit is contained in:
Leo Franchi 2011-10-30 21:57:55 -04:00
parent e9ab459b30
commit aa8898a720

View File

@ -105,6 +105,8 @@ InfoBar::InfoBar( QWidget* parent )
setPalette( p );
setAutoFillBackground( true );
setMinimumHeight( geometry().height() );
setMaximumHeight( geometry().height() );
connect( ViewManager::instance(), SIGNAL( filterAvailable( bool ) ), SLOT( setFilterAvailable( bool ) ) );
connect( ViewManager::instance(), SIGNAL( autoUpdateAvailable( bool ) ), SLOT( setAutoUpdateAvailable( bool ) ) );
}