diff --git a/workspace.cpp b/workspace.cpp index df4c8ba7bf..04efde6d95 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -2466,7 +2466,7 @@ void Workspace::helperDialog( const QString& message, const Client* c ) 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 @@ void Workspace::helperDialog( const QString& message, const Client* c ) 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 "