diff options
author | hjk <[email protected]> | 2010-06-25 17:37:59 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2010-06-25 17:38:25 +0200 |
commit | 2f5f358ff420bf4fa2fdc09d105463bd1e0e792f (patch) | |
tree | a826357ccde587a1cce12749ff5fbb0ae8ac6f79 /src/plugins/cvs/cvsplugin.cpp | |
parent | 2bdf10ce1077fc21f6a3835de1f103f87c75eebf (diff) |
Core::Context: compile hot fix for Windows.
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r-- | src/plugins/cvs/cvsplugin.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp index 2542157d757..9175b43d4fe 100644 --- a/src/plugins/cvs/cvsplugin.cpp +++ b/src/plugins/cvs/cvsplugin.cpp @@ -48,7 +48,6 @@ #include <coreplugin/filemanager.h> #include <coreplugin/messagemanager.h> #include <coreplugin/mimedatabase.h> -#include <coreplugin/uniqueidmanager.h> #include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actioncontainer.h> #include <coreplugin/actionmanager/command.h> @@ -257,7 +256,7 @@ bool CVSPlugin::initialize(const QStringList & /*arguments */, QString *errorMes toolsContainer->addMenu(cvsMenu); m_menuAction = cvsMenu->menu()->menuAction(); - Core::Context globalcontext(core->uniqueIDManager()->uniqueIdentifier(C_GLOBAL)); + Core::Context globalcontext(C_GLOBAL); Core::Command *command; @@ -379,8 +378,7 @@ bool CVSPlugin::initialize(const QStringList & /*arguments */, QString *errorMes m_commandLocator->appendCommand(command); // Actions of the submit editor - Core::Context cvscommitcontext; - cvscommitcontext << Core::UniqueIDManager::instance()->uniqueIdentifier(Constants::CVSCOMMITEDITOR); + Core::Context cvscommitcontext(Constants::CVSCOMMITEDITOR); m_submitCurrentLogAction = new QAction(VCSBase::VCSBaseSubmitEditor::submitIcon(), tr("Commit"), this); command = ami->registerAction(m_submitCurrentLogAction, Constants::SUBMIT_CURRENT, cvscommitcontext); |