diff --git a/clients/laptop/laptopclient.cpp b/clients/laptop/laptopclient.cpp index b0e8c990ad..a55fe49186 100644 --- a/clients/laptop/laptopclient.cpp +++ b/clients/laptop/laptopclient.cpp @@ -468,6 +468,13 @@ void LaptopClient::init() KCommonDecoration::init(); } +void LaptopClient::captionChange() +{ + bufferDirty = true; + + KCommonDecoration::captionChange(); +} + void LaptopClient::paintEvent( QPaintEvent* ) { QPainter p(widget()); diff --git a/clients/laptop/laptopclient.h b/clients/laptop/laptopclient.h index 2ebaa19bac..66195bb3ab 100644 --- a/clients/laptop/laptopclient.h +++ b/clients/laptop/laptopclient.h @@ -49,6 +49,7 @@ protected: void paintEvent( QPaintEvent* ); void reset( unsigned long ); void updateActiveBuffer(); + void captionChange(); private: bool mustDrawHandle() const; bool isTransient() const;