From 76c19742f4fee80c8714d9a0384462fac02a3285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 30 Oct 2003 18:25:43 +0000 Subject: [PATCH] Here as well - don't flicker. svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=263257 --- clients/plastik/plastikclient.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clients/plastik/plastikclient.cpp b/clients/plastik/plastikclient.cpp index 9c04a4c34b..c85bfbefc3 100644 --- a/clients/plastik/plastikclient.cpp +++ b/clients/plastik/plastikclient.cpp @@ -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( "
Plastik
" ), widget()) ); + if( isPreview()) + midLayout->addWidget(new QLabel( i18n( "
Plastik
" ), widget()) ); + else + midLayout->addItem( new QSpacerItem( 0, 0 )); midLayout->addItem(PlastikHandler::reverseLayout()?leftSpacer_:rightSpacer_); //Bottom