mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-02 04:10:20 +02:00
Do better th an QSizePolicy::Fixed by setting min/max heights too
This commit is contained in:
@@ -105,6 +105,8 @@ InfoBar::InfoBar( QWidget* parent )
|
|||||||
setPalette( p );
|
setPalette( p );
|
||||||
setAutoFillBackground( true );
|
setAutoFillBackground( true );
|
||||||
|
|
||||||
|
setMinimumHeight( geometry().height() );
|
||||||
|
setMaximumHeight( geometry().height() );
|
||||||
connect( ViewManager::instance(), SIGNAL( filterAvailable( bool ) ), SLOT( setFilterAvailable( bool ) ) );
|
connect( ViewManager::instance(), SIGNAL( filterAvailable( bool ) ), SLOT( setFilterAvailable( bool ) ) );
|
||||||
connect( ViewManager::instance(), SIGNAL( autoUpdateAvailable( bool ) ), SLOT( setAutoUpdateAvailable( bool ) ) );
|
connect( ViewManager::instance(), SIGNAL( autoUpdateAvailable( bool ) ), SLOT( setAutoUpdateAvailable( bool ) ) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user