Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
a3aa8798
Commit
a3aa8798
authored
Apr 28, 2010
by
Lasse Holmstedt
Browse files
Moved plugin deletion code from shutdown() to destructor
Task-number: QTCREATORBUG-1288
parent
e37ca5c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmlinspector/qmlinspectorplugin.cpp
View file @
a3aa8798
...
...
@@ -79,13 +79,14 @@ QmlInspectorPlugin::QmlInspectorPlugin()
QmlInspectorPlugin
::~
QmlInspectorPlugin
()
{
removeObject
(
m_inspector
);
delete
m_inspector
;
m_inspector
=
0
;
}
void
QmlInspectorPlugin
::
shutdown
()
{
removeObject
(
m_inspector
);
delete
m_inspector
;
m_inspector
=
0
;
}
bool
QmlInspectorPlugin
::
initialize
(
const
QStringList
&
arguments
,
QString
*
errorString
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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