Fixed size-grip visibility when shading windows

svn path=/trunk/KDE/kdebase/workspace/; revision=1017165
This commit is contained in:
Hugo Pereira Da Costa 2009-08-29 20:04:24 +00:00
parent a56de50f0d
commit bbb66d7a7d
2 changed files with 11 additions and 1 deletions

View file

@ -416,6 +416,13 @@ namespace Nitrogen
}
//_________________________________________________________
void NitrogenClient::shadeChange( void )
{
if( hasSizeGrip() ) sizeGrip().setVisible( !isShade() );
KCommonDecorationUnstable::shadeChange();
}
//_________________________________________________________
QPalette NitrogenClient::backgroundPalette( const QWidget* widget, QPalette palette ) const
{

View file

@ -91,6 +91,9 @@ namespace Nitrogen
//! triggered when window activity is changed
virtual void activeChange();
//! triggered when window shade is changed
virtual void shadeChange();
public slots:
//! reset configuration