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:
@@ -372,7 +372,7 @@ void WelcomeMode::initPlugins()
|
||||
if (!m_activePage.isValid() && !m_pageButtons.isEmpty()) {
|
||||
const int welcomeIndex = Utils::indexOf(m_pluginList,
|
||||
Utils::equal(&IWelcomePage::id,
|
||||
Core::Id("Examples")));
|
||||
Utils::Id("Examples")));
|
||||
const int defaultIndex = welcomeIndex >= 0 ? welcomeIndex : 0;
|
||||
m_activePage = m_pluginList.at(defaultIndex)->id();
|
||||
m_pageButtons.at(defaultIndex)->click();
|
||||
|
||||
Reference in New Issue
Block a user