Forward port r851037: Respect option "Show window button tooltips"
svn path=/trunk/KDE/kdebase/workspace/; revision=851041icc-effect-5.14.5
parent
31cc37e089
commit
a707d588c3
|
@ -82,6 +82,7 @@ void KDecoration::createMainWidget( Qt::WFlags flags )
|
|||
QWidget *w = new QWidget( initialParentWidget(), initialWFlags() | flags );
|
||||
w->setObjectName("decoration widget");
|
||||
w->setAttribute( Qt::WA_PaintOnScreen );
|
||||
if ( options()->showTooltips() )
|
||||
w->setAttribute( Qt::WA_AlwaysShowToolTips );
|
||||
setMainWidget(w);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue