summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/quickfix.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-07-09 15:12:44 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-07-09 15:52:09 +0200
commitb4cecd6ec8a39c10913887fd9a99293a260e6482 (patch)
treee6a57036feaba57f9e6f1f1d02a1ea69d564444b /src/plugins/texteditor/quickfix.cpp
parent6ee1027eaa796008612a78ffa62339963d597b3a (diff)
downloadqt-creator-b4cecd6ec8a39c10913887fd9a99293a260e6482.tar.gz
Allow certain characters to also trigger the completion
Now you can type characters like ., ( and : to complete the selected item, depending on the type of the completion item. Task-number: QTCREATORBUG-271 Reviewed-by: Roberto Raggi
Diffstat (limited to 'src/plugins/texteditor/quickfix.cpp')
-rw-r--r--src/plugins/texteditor/quickfix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/quickfix.cpp b/src/plugins/texteditor/quickfix.cpp
index 9918ad4f5b..8e5e024750 100644
--- a/src/plugins/texteditor/quickfix.cpp
+++ b/src/plugins/texteditor/quickfix.cpp
@@ -171,7 +171,7 @@ void QuickFixCollector::completions(QList<TextEditor::CompletionItem> *quickFixI
}
}
-void QuickFixCollector::complete(const TextEditor::CompletionItem &item)
+void QuickFixCollector::fix(const TextEditor::CompletionItem &item)
{
const int index = item.data.toInt();