[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/kwin
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2008-10-31 23:51:01
Message-ID: 1225497061.845588.19999.nullmailer () svn ! kde ! org
[Download RAW message or body]
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<KAction*>(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<KAction*>(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 "
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic