forked from qt-creator/qt-creator
Use new static ICore interface.
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -109,7 +109,7 @@ void ImageViewerActionHandler::registerNewAction(int actionId, const Core::Id &i
|
||||
const QString &title, const QKeySequence &key)
|
||||
{
|
||||
Core::Context context(Constants::IMAGEVIEWER_ID);
|
||||
Core::ActionManager *actionManager = Core::ICore::instance()->actionManager();
|
||||
Core::ActionManager *actionManager = Core::ICore::actionManager();
|
||||
QAction *action = new QAction(title, this);
|
||||
Core::Command *command = actionManager->registerAction(action, id, context);
|
||||
if (command)
|
||||
|
||||
Reference in New Issue
Block a user