diff options
author | hjk <qtc-committer@nokia.com> | 2010-06-25 17:37:59 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-06-25 17:38:25 +0200 |
commit | 2f5f358ff420bf4fa2fdc09d105463bd1e0e792f (patch) | |
tree | a826357ccde587a1cce12749ff5fbb0ae8ac6f79 /src/plugins/resourceeditor/resourceeditorfactory.cpp | |
parent | 2bdf10ce1077fc21f6a3835de1f103f87c75eebf (diff) | |
download | qt-creator-2f5f358ff420bf4fa2fdc09d105463bd1e0e792f.tar.gz |
Core::Context: compile hot fix for Windows.
Diffstat (limited to 'src/plugins/resourceeditor/resourceeditorfactory.cpp')
-rw-r--r-- | src/plugins/resourceeditor/resourceeditorfactory.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorfactory.cpp b/src/plugins/resourceeditor/resourceeditorfactory.cpp index fb99792843..2809cf15e1 100644 --- a/src/plugins/resourceeditor/resourceeditorfactory.cpp +++ b/src/plugins/resourceeditor/resourceeditorfactory.cpp @@ -32,7 +32,6 @@ #include "resourceeditorplugin.h" #include "resourceeditorconstants.h" -#include <coreplugin/uniqueidmanager.h> #include <coreplugin/fileiconprovider.h> #include <coreplugin/editormanager/editormanager.h> @@ -45,10 +44,9 @@ using namespace ResourceEditor::Constants; ResourceEditorFactory::ResourceEditorFactory(ResourceEditorPlugin *plugin) : Core::IEditorFactory(plugin), m_mimeTypes(QStringList(QLatin1String("application/vnd.nokia.xml.qt.resource"))), + m_context(ResourceEditor::Constants::C_RESOURCEEDITOR), m_plugin(plugin) { - m_context += Core::UniqueIDManager::instance() - ->uniqueIdentifier(QLatin1String(ResourceEditor::Constants::C_RESOURCEEDITOR)); Core::FileIconProvider *iconProvider = Core::FileIconProvider::instance(); iconProvider->registerIconOverlayForSuffix(QIcon(":/resourceeditor/images/qt_qrc.png"), QLatin1String("qrc")); |