summaryrefslogtreecommitdiffstats
path: root/ksmserver/shutdowndlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-26 14:03:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-26 14:03:17 -0600
commit8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab (patch)
tree3329bd3d0a94c6489da7dc2ed8a46c30f5b51e01 /ksmserver/shutdowndlg.cpp
parent2f56a3448b73075ca4ae46efaa304e0f7c1100e9 (diff)
downloadtdebase-8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab.tar.gz
tdebase-8b6942211b9fc3e69c9ab479f6ba5cf5d64699ab.zip
Add option to use more professional looking logout dialog
Diffstat (limited to 'ksmserver/shutdowndlg.cpp')
-rw-r--r--ksmserver/shutdowndlg.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp
index c71bd094e..13a0bb5f7 100644
--- a/ksmserver/shutdowndlg.cpp
+++ b/ksmserver/shutdowndlg.cpp
@@ -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());