[Konversation-devel] [Bug 103394] Ability to configure "Focus server tab" with ALT+<num> with the "natural" order of tabs

ismail cartman donmez ismail at kde.org.tr
Fri Apr 8 13:17:17 CEST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=103394         




------- Additional Comments From ismail kde org tr  2005-04-08 13:17 -------
CVS commit by cartman: 

ALT+0 for 10th tab. Suggestion by thiago
CCBUG:103394
CCMAIL:thiago kde org tr


  M +3 -3      konversationmainwindow.cpp   1.232


--- kdeextragear-2/konversation/konversation/konversationmainwindow.cpp  #1.231:1.232
 @ -164,6 +164,6  @ KonversationMainWindow::KonversationMain
   connect(tabSelectionMapper, SIGNAL(mapped(int)), this, SLOT(goToTab(int)));
   
-  for(uint i = 1; i < 10; ++i) {
-    KAction* tabSelectionAction = new KAction(i18n("Go to Tab %1").arg(i), 0, KShortcut(QString("Alt+%1").arg(i)),
+  for(uint i = 1; i <= 10; ++i) {
+    KAction* tabSelectionAction = new KAction(i18n("Go to Tab %1").arg(i), 0, KShortcut(QString("Alt+%1").arg(i%10)),
       tabSelectionMapper, SLOT(map()), actionCollection(), QString("go_to_tab_%1").arg(i).local8Bit());
     tabSelectionMapper->setMapping( tabSelectionAction, i-1);


More information about the Konversation-devel mailing list