[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/ksmserver
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2005-03-29 15:03:20
Message-ID: 20050329150320.C0C2C484 () office ! kde ! org
[Download RAW message or body]
CVS commit by lunakl:
If we now use a new logout picture maybe the code could get updated too.
Remove old code that helped with transparency of the picture, force
a fixed size so that the new picture with solid background doesn't look odd.
BUG: 102640
M +2 -3 shutdown.cpp 1.56
--- kdebase/ksmserver/shutdown.cpp #1.55:1.56
@@ -101,11 +101,10 @@ KSMShutdownDlg::KSMShutdownDlg( QWidget*
QFrame* lfrm = new QFrame( frame );
lfrm->setFrameStyle( QFrame::Panel | QFrame::Sunken );
- lfrm->setPaletteBackgroundColor( lfrm->colorGroup().midlight() );
hbox->addWidget( lfrm, AlignCenter );
- QVBoxLayout* iconlay = new QVBoxLayout( lfrm );
QLabel* icon = new QLabel( lfrm );
icon->setPixmap( UserIcon( "shutdownkonq" ) );
- iconlay->addWidget( icon );
+ lfrm->setFixedSize( icon->sizeHint());
+ icon->setFixedSize( icon->sizeHint());
// right column (buttons)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic