Fix ksmserver crash on logout

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249866 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent aca04c8c0d
commit 226b87a2e4

@ -1098,9 +1098,9 @@ KSMShutdownIPDlg::KSMShutdownIPDlg(TQWidget* parent)
// we need to set the minimum size for the window
frame->setMinimumWidth(400);
vbox->addWidget( frame );
TQGridLayout* gbox = new TQGridLayout( frame, 1, 1, 2 * KDialog::marginHint(), 2 * KDialog::spacingHint() );
TQHBoxLayout* centerbox = new TQHBoxLayout( gbox, KDialog::spacingHint() );
TQHBoxLayout* seperatorbox = new TQHBoxLayout( gbox, 0 );
TQGridLayout* gbox = new TQGridLayout( frame, 1, 1, KDialog::marginHint(), KDialog::spacingHint() );
TQHBoxLayout* centerbox = new TQHBoxLayout( frame, 0, KDialog::spacingHint() );
TQHBoxLayout* seperatorbox = new TQHBoxLayout( frame, 0, 0 );
TQWidget* ticon = new TQWidget( frame );
KIconLoader * ldr = KGlobal::iconLoader();
@ -1157,6 +1157,9 @@ KSMShutdownIPDlg::KSMShutdownIPDlg(TQWidget* parent)
setFixedSize( sizeHint() );
setCaption( i18n("Please wait...") );
show();
setActiveWindow();
}
KSMShutdownIPDlg::~KSMShutdownIPDlg()

Loading…
Cancel
Save