summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditorplugin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp
index 893fac076d..a800aa3925 100644
--- a/src/plugins/pythoneditor/pythoneditorplugin.cpp
+++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp
@@ -214,9 +214,7 @@ bool PythonEditorPlugin::initialize(
{
Q_UNUSED(arguments)
- Core::ICore *pCore = Core::ICore::instance();
-
- if (! pCore->mimeDatabase()->addMimeTypes(
+ if (! Core::ICore::mimeDatabase()->addMimeTypes(
QLatin1String(RC_PY_MIME_XML),
errorMessage))
{