forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.6'
Conflicts: src/plugins/coreplugin/fileiconprovider.cpp src/plugins/cppeditor/cppplugin.cpp tests/auto/qml/qmldesigner/coretests/coretests.pro Change-Id: I0e83becf661ded9316ce6766786c9ef4c2f897a7
This commit is contained in:
@@ -109,7 +109,7 @@ const char REMOVE_CURRENT_SPLIT[] = "QtCreator.RemoveCurrentSplit";
|
||||
const char REMOVE_ALL_SPLITS[] = "QtCreator.RemoveAllSplits";
|
||||
const char GOTO_OTHER_SPLIT[] = "QtCreator.GotoOtherSplit";
|
||||
const char CLOSE[] = "QtCreator.Close";
|
||||
#ifdef Q_WS_WIN
|
||||
#ifdef Q_OS_WIN
|
||||
const char CLOSE_ALTERNATIVE[] = "QtCreator.Close_Alternative"; // temporary, see QTCREATORBUG-72
|
||||
#endif
|
||||
const char CLOSEALL[] = "QtCreator.CloseAll";
|
||||
|
||||
@@ -313,7 +313,7 @@ EditorManager::EditorManager(QWidget *parent) :
|
||||
mfile->addAction(cmd, Constants::G_FILE_CLOSE);
|
||||
connect(d->m_closeCurrentEditorAction, SIGNAL(triggered()), this, SLOT(closeEditor()));
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
#ifdef Q_OS_WIN
|
||||
// workaround for QTCREATORBUG-72
|
||||
QShortcut *sc = new QShortcut(parent);
|
||||
cmd = ActionManager::registerShortcut(sc, Constants::CLOSE_ALTERNATIVE, editManagerContext);
|
||||
|
||||
Reference in New Issue
Block a user