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
4f235452
Commit
4f235452
authored
Dec 03, 2010
by
hjk
Browse files
qmljsinspector: remove unused global variable
parent
2ccad7af
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljsinspector/qmljsinspectorplugin.cpp
View file @
4f235452
...
...
@@ -60,19 +60,10 @@
using
namespace
QmlJSInspector
::
Internal
;
using
namespace
QmlJSInspector
::
Constants
;
namespace
{
InspectorPlugin
*
g_instance
=
0
;
// the global QML/JS inspector instance
}
// end of anonymous namespace
InspectorPlugin
::
InspectorPlugin
()
:
IPlugin
()
,
m_clientProxy
(
0
)
{
Q_ASSERT
(
!
g_instance
);
g_instance
=
this
;
m_inspectorUi
=
new
InspectorUi
(
this
);
}
...
...
@@ -85,11 +76,6 @@ QmlJS::ModelManagerInterface *InspectorPlugin::modelManager() const
return
ExtensionSystem
::
PluginManager
::
instance
()
->
getObject
<
QmlJS
::
ModelManagerInterface
>
();
}
InspectorPlugin
*
InspectorPlugin
::
instance
()
{
return
g_instance
;
}
InspectorUi
*
InspectorPlugin
::
inspector
()
const
{
return
m_inspectorUi
;
...
...
src/plugins/qmljsinspector/qmljsinspectorplugin.h
View file @
4f235452
...
...
@@ -54,7 +54,7 @@ public:
InspectorPlugin
();
virtual
~
InspectorPlugin
();
static
InspectorPlugin
*
instance
();
//
static InspectorPlugin *instance();
QmlJS
::
ModelManagerInterface
*
modelManager
()
const
;
InspectorUi
*
inspector
()
const
;
...
...
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