Add option to use more professional looking logout dialog

pull/2/head
Timothy Pearson 11 years ago
parent 2f56a3448b
commit 8b6942211b

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@ -752,7 +752,12 @@ KSMShutdownDlg::KSMShutdownDlg( TQWidget* parent,
buttonlay->setAlignment( Qt::AlignHCenter );
TQLabel* icon = new TQLabel( lfrm );
icon->setPixmap( UserIcon( "shutdownkonq" ) );
if (TDEConfigGroup(TDEGlobal::config(), "Logout").readBoolEntry("doNotUseKonqyPicture", false)) {
icon->setPixmap( UserIcon( "shutdown" ) );
}
else {
icon->setPixmap( UserIcon( "shutdownkonq" ) );
}
lfrm->setFixedSize( icon->sizeHint());
icon->setFixedSize( icon->sizeHint());

Loading…
Cancel
Save