forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.6'
Conflicts: share/qtcreator/qml/qmlpuppet/commands/changenodesourcecommand.h share/qtcreator/qml/qmlpuppet/commands/tokencommand.h share/qtcreator/qml/qmlpuppet/container/reparentcontainer.h share/qtcreator/qml/qmlpuppet/qml2puppet/instances/componentnodeinstance.h share/qtcreator/qml/qmlpuppet/qmlpuppet/instances/nodeinstanceclientproxy.cpp src/plugins/git/gitsettings.cpp tests/manual/ssh/remoteprocess/remoteprocesstest.h Change-Id: I00c294e6d911d272615e65fed58562399af97a4e
This commit is contained in:
@@ -2096,7 +2096,12 @@ QChar BaseTextEditorWidget::characterAt(int pos) const
|
||||
|
||||
bool BaseTextEditorWidget::event(QEvent *e)
|
||||
{
|
||||
#if QT_VERSION >= 0x050000
|
||||
if (e->type() != QEvent::InputMethodQuery)
|
||||
d->m_contentsChanged = false;
|
||||
#else
|
||||
d->m_contentsChanged = false;
|
||||
#endif
|
||||
switch (e->type()) {
|
||||
case QEvent::ShortcutOverride:
|
||||
if (static_cast<QKeyEvent*>(e)->key() == Qt::Key_Escape && d->m_snippetOverlay->isVisible()) {
|
||||
|
||||
Reference in New Issue
Block a user