summaryrefslogtreecommitdiff
path: root/src/plugins/qmlinspector
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-06-15 13:20:47 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-06-15 13:22:33 +0200
commit173cdff56c57e19921386c13c7c17457ad5b67c4 (patch)
tree56baf6dfbf4e35a7ad73b331770b9d177bec0bfa /src/plugins/qmlinspector
parent4f45855188e282c8c958fcfb39a886720d885683 (diff)
parent83dba068ce27a2f74301abce8facab0bb2035c91 (diff)
downloadqt-creator-173cdff56c57e19921386c13c7c17457ad5b67c4.tar.gz
Merge branch '2.0'
Conflicts: src/plugins/cppeditor/cppquickfix.cpp src/plugins/mercurial/mercurialjobrunner.cpp src/plugins/subversion/subversionplugin.cpp
Diffstat (limited to 'src/plugins/qmlinspector')
-rw-r--r--src/plugins/qmlinspector/components/expressionquerywidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlinspector/components/expressionquerywidget.cpp b/src/plugins/qmlinspector/components/expressionquerywidget.cpp
index 4aa2f1b7c9..830ce28756 100644
--- a/src/plugins/qmlinspector/components/expressionquerywidget.cpp
+++ b/src/plugins/qmlinspector/components/expressionquerywidget.cpp
@@ -283,7 +283,7 @@ bool ExpressionQueryWidget::eventFilter(QObject *obj, QEvent *event)
bool atLastLine = !(cursor.block().next().isValid());
if (!atLastLine)
return true;
- if (cursor.columnNumber() <= m_prompt.count())
+ if (cursor.positionInBlock() <= m_prompt.count())
return true;
cursor.deletePreviousChar();
m_expr = cursor.block().text().mid(m_prompt.count());