From bbd5333e931e32cc5523844756a9071263f2ee6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 5 Jan 2006 16:55:09 +0000 Subject: [PATCH] Fix incorrect title with nedit. BUG: 117457 svn path=/trunk/KDE/kdebase/workspace/; revision=494578 --- clients/laptop/laptopclient.cpp | 7 +++++++ clients/laptop/laptopclient.h | 1 + 2 files changed, 8 insertions(+) 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;