summaryrefslogtreecommitdiffstats
path: root/ksmserver/shutdowndlg.cpp
diff options
context:
space:
mode:
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());