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
c721304a
Commit
c721304a
authored
Feb 10, 2009
by
Thorbjørn Lindeijer
Browse files
Fix for crash when doing signal completion
parent
2710abbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/openeditorsview.cpp
View file @
c721304a
...
...
@@ -80,7 +80,6 @@ OpenEditorsWidget::OpenEditorsWidget()
OpenEditorsWidget
::~
OpenEditorsWidget
()
{
}
void
OpenEditorsWidget
::
updateCurrentItem
(
Core
::
IEditor
*
editor
)
...
...
src/plugins/cpptools/cppcodecompletion.cpp
View file @
c721304a
...
...
@@ -200,7 +200,7 @@ FunctionArgumentWidget::FunctionArgumentWidget()
setParent
(
m_popupFrame
);
setFocusPolicy
(
Qt
::
NoFocus
);
QVBoxLayout
*
layout
=
new
QVBoxLayout
()
;
QVBoxLayout
*
layout
=
new
QVBoxLayout
;
layout
->
addWidget
(
this
);
layout
->
setMargin
(
0
);
m_popupFrame
->
setLayout
(
layout
);
...
...
@@ -968,6 +968,8 @@ bool CppCodeCompletion::completeQtMethod(CPlusPlus::FullySpecifiedType,
for
(
unsigned
i
=
0
;
i
<
scope
->
symbolCount
();
++
i
)
{
Symbol
*
member
=
scope
->
symbolAt
(
i
);
if
(
!
member
->
type
())
continue
;
Function
*
fun
=
member
->
type
()
->
asFunctionType
();
if
(
!
fun
)
continue
;
...
...
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