forked from qt-creator/qt-creator
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
#include <coreplugin/actionmanager/command.h>
|
||||
#include <coreplugin/id.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QDir>
|
||||
@@ -85,7 +84,7 @@ void MacroOptionsWidget::initialize()
|
||||
void MacroOptionsWidget::createTable()
|
||||
{
|
||||
QDir dir(MacroManager::macrosDirectory());
|
||||
const Core::Id base = Core::Id(Constants::PREFIX_MACRO);
|
||||
const Utils::Id base = Utils::Id(Constants::PREFIX_MACRO);
|
||||
for (Macro *macro : MacroManager::macros()) {
|
||||
QFileInfo fileInfo(macro->fileName());
|
||||
if (fileInfo.absoluteDir() == dir.absolutePath()) {
|
||||
|
||||
Reference in New Issue
Block a user