diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-25 17:48:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-25 17:48:57 +0000 |
commit | eac86b256d300988ad9440e3a007c6146e2be260 (patch) | |
tree | ec89d2d383b5f04f6c75163a712582f2f610f5ea | |
parent | 0995e7c6978707409a7b038557c7e342fa5a3701 (diff) | |
download | tdebase-eac86b256d300988ad9440e3a007c6146e2be260.tar.gz tdebase-eac86b256d300988ad9440e3a007c6146e2be260.zip |
Fixed translation of Log out button
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1107452 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | ksmserver/shutdowndlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp index 814736b96..25e4aaf30 100644 --- a/ksmserver/shutdowndlg.cpp +++ b/ksmserver/shutdowndlg.cpp @@ -312,10 +312,10 @@ KSMShutdownDlg::KSMShutdownDlg( QWidget* parent, hbuttonbox = new QHBoxLayout( hbox, factor * KDialog::spacingHint() ); hbuttonbox->setAlignment( Qt::AlignHCenter ); // End session - FlatButton* btnLogout = new FlatButton( frame ); - btnLogout->setTextLabel( i18n("&Log out"), false ); + FlatButton* btnLogout = new FlatButton( frame ); + btnLogout->setTextLabel( QString("&") + i18n("Log out"), false ); btnLogout->setPixmap( DesktopIcon( "back") ); - int i = btnLogout->textLabel().find( QRegExp("\\&"), 0 ); // i == 1 + int i = btnLogout->textLabel().find( QRegExp("\\&"), 0 ); // i == 1 btnLogout->setAccel( "ALT+" + btnLogout->textLabel().lower()[i+1] ) ; hbuttonbox->addWidget ( btnLogout ); connect(btnLogout, SIGNAL(clicked()), SLOT(slotLogout())); |