Here as well - don't flicker.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263257
This commit is contained in:
Luboš Luňák 2003-10-30 18:25:43 +00:00
parent 78a31324a0
commit 76c19742f4

View file

@ -533,7 +533,10 @@ void PlastikClient::_resetLayout()
//Mid
QHBoxLayout * midLayout = new QHBoxLayout(mainLayout_, 0, 0);
midLayout->addItem(PlastikHandler::reverseLayout()?rightSpacer_:leftSpacer_);
midLayout->addWidget(new QLabel( i18n( "<center><b>Plastik</b></center>" ), widget()) );
if( isPreview())
midLayout->addWidget(new QLabel( i18n( "<center><b>Plastik</b></center>" ), widget()) );
else
midLayout->addItem( new QSpacerItem( 0, 0 ));
midLayout->addItem(PlastikHandler::reverseLayout()?leftSpacer_:rightSpacer_);
//Bottom