Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
8de03ac2
Commit
8de03ac2
authored
Aug 30, 2010
by
Christian Kamm
Browse files
QmlJS: Fix code completion when no semantic info is available.
parent
25fe059d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljseditor/qmljscodecompletion.cpp
View file @
8de03ac2
...
...
@@ -681,6 +681,9 @@ int CodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
const
QmlJS
::
Snapshot
snapshot
=
semanticInfo
.
snapshot
;
const
Document
::
Ptr
document
=
semanticInfo
.
document
;
if
(
!
document
)
return
-
1
;
const
QFileInfo
currentFileInfo
(
fileName
);
bool
isQmlFile
=
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment