[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:49:17
Message-ID: 1225496957.799800.19780.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 878357 by aacid:

we are showing the shortcut to the user so use QKeySequence::NativeText to get it translated


 M  +1 -1      composite.cpp  


--- trunk/KDE/kdebase/workspace/kwin/composite.cpp #878356:878357
@@ -486,7 +486,7 @@
         QTimer::singleShot( 0, this, SLOT( suspendCompositing()));
         QString shortcut = i18n( "Empty" );
         if( KAction* action = qobject_cast<KAction*>( keys->action("Suspend Compositing")))
-            shortcut = action->globalShortcut().primary().toString();
+            shortcut = action->globalShortcut().primary().toString(QKeySequence::NativeText);
         QString message = i18n( "Compositing was too slow and has been suspended.\n"
             "If this was only a temporary problem, you can resume using the '%1' shortcut.\n"
             "You can also disable functionality checks in advanced compositing settings.", shortcut );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic