Respect option "Show window button tooltips".
BUG:162648 svn path=/branches/KDE/4.1/kdebase/workspace/; revision=851037
This commit is contained in:
parent
ad60dbfdb9
commit
117254f20b
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ void KDecoration::createMainWidget( Qt::WFlags flags )
|
||||||
QWidget *w = new QWidget( initialParentWidget(), initialWFlags() | flags );
|
QWidget *w = new QWidget( initialParentWidget(), initialWFlags() | flags );
|
||||||
w->setObjectName("decoration widget");
|
w->setObjectName("decoration widget");
|
||||||
w->setAttribute( Qt::WA_PaintOnScreen );
|
w->setAttribute( Qt::WA_PaintOnScreen );
|
||||||
w->setAttribute( Qt::WA_AlwaysShowToolTips );
|
if ( options()->showTooltips() )
|
||||||
|
w->setAttribute( Qt::WA_AlwaysShowToolTips );
|
||||||
setMainWidget(w);
|
setMainWidget(w);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue