Allow shortcuts up to 19 tabs

The current was 10; Ingo Molnar suggested 14 via email.  I have a
keyboard with 19 so that seems a reasonable limit.
This commit is contained in:
Kurt Hindenburg
2013-03-27 09:33:27 -04:00
parent a6a913720b
commit 2d5df9cc09

View File

@@ -212,7 +212,7 @@ void ViewManager::setupActions()
collection->addAction("move-view-right", moveViewRightAction);
// Switch to tab N shortcuts
const int SWITCH_TO_TAB_COUNT = 10;
const int SWITCH_TO_TAB_COUNT = 19;
QSignalMapper* switchToTabMapper = new QSignalMapper(this);
connect(switchToTabMapper, SIGNAL(mapped(int)), this, SLOT(switchToView(int)));
for (int i = 0; i < SWITCH_TO_TAB_COUNT; i++) {