Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/demos/browser/tabwidget.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    6868            this, SLOT(contextMenuRequested(QPoint)));
    6969
    70     QString alt = QLatin1String("Alt+%1");
     70    QString ctrl = QLatin1String("Ctrl+%1");
    7171    for (int i = 1; i <= 10; ++i) {
    7272        int key = i;
    7373        if (key == 10)
    7474            key = 0;
    75         QShortcut *shortCut = new QShortcut(alt.arg(key), this);
     75        QShortcut *shortCut = new QShortcut(ctrl.arg(key), this);
    7676        m_tabShortcuts.append(shortCut);
    7777        connect(shortCut, SIGNAL(activated()), this, SLOT(selectTabAction()));
Note: See TracChangeset for help on using the changeset viewer.