From kde-commits Fri Oct 31 23:51:01 2008 From: Albert Astals Cid Date: Fri, 31 Oct 2008 23:51:01 +0000 To: kde-commits Subject: KDE/kdebase/workspace/kwin Message-Id: <1225497061.845588.19999.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122549707010774 SVN commit 878359 by aacid: we are showing the shortcut to the user so use QKeySequence::NativeText to get it translated M +2 -2 workspace.cpp --- trunk/KDE/kdebase/workspace/kwin/workspace.cpp #878358:878359 @@ -2466,7 +2466,7 @@ KAction* action = qobject_cast(keys->action( "Window Operations Menu" )); assert( action != NULL ); QString shortcut = QString( "%1 (%2)" ).arg( action->text() ) - .arg( action->globalShortcut().primary().toString()); + .arg( action->globalShortcut().primary().toString(QKeySequence::NativeText)); args << "--msgbox" << i18n( "You have selected to show a window without its border.\n" "Without the border, you will not be able to enable the border " @@ -2480,7 +2480,7 @@ KAction* action = qobject_cast(keys->action( "Window Operations Menu" )); assert( action != NULL ); QString shortcut = QString( "%1 (%2)" ).arg( action->text() ) - .arg( action->globalShortcut().primary().toString()); + .arg( action->globalShortcut().primary().toString(QKeySequence::NativeText)); args << "--msgbox" << i18n( "You have selected to show a window in fullscreen mode.\n" "If the application itself does not have an option to turn the fullscreen "