diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2013-03-25 14:55:32 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2013-03-25 15:48:55 +0100 |
commit | 004330536932766a49dcc12bd986a57d73a91c02 (patch) | |
tree | e76bac09ad3643468104e3e7de49ef202bd8e3e7 /src/plugins/pythoneditor/pythoneditorplugin.cpp | |
parent | 49554406cc94b3b7050f9c63e8e1df544d528605 (diff) | |
download | qt-creator-004330536932766a49dcc12bd986a57d73a91c02.tar.gz |
Fix MSVC compiler warnings
D:\dev\qt-creator\src\plugins\projectexplorer\toolchain.cpp:198:
warning: C4138: '*/' found outside of comment
D:\dev\qt-creator\src\plugins\pythoneditor\pythoneditorplugin.cpp:217:
warning: C4189: 'pCore' : local variable is initialized but not
referenced
Change-Id: I5e1447e98ac8cbff2c2b8981ddba7e08e7506e24
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r-- | src/plugins/pythoneditor/pythoneditorplugin.cpp | 4 |
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)) { |