forked from qt-creator/qt-creator
EditorManager: Remove QString openEditor(At) overloads
In favor of the FilePath/Link ones. Change-Id: I5caf9e0f8de304ff4ee12329557aa50a6f3a0c69 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -527,7 +527,8 @@ void DesignModeWidget::toolBarOnGoBackClicked()
|
||||
if (m_navigatorHistoryCounter > 0) {
|
||||
--m_navigatorHistoryCounter;
|
||||
m_keepNavigatorHistory = true;
|
||||
Core::EditorManager::openEditor(m_navigatorHistory.at(m_navigatorHistoryCounter),
|
||||
Core::EditorManager::openEditor(Utils::FilePath::fromString(
|
||||
m_navigatorHistory.at(m_navigatorHistoryCounter)),
|
||||
Utils::Id(),
|
||||
Core::EditorManager::DoNotMakeVisible);
|
||||
m_keepNavigatorHistory = false;
|
||||
@@ -539,7 +540,8 @@ void DesignModeWidget::toolBarOnGoForwardClicked()
|
||||
if (m_navigatorHistoryCounter < (m_navigatorHistory.size() - 1)) {
|
||||
++m_navigatorHistoryCounter;
|
||||
m_keepNavigatorHistory = true;
|
||||
Core::EditorManager::openEditor(m_navigatorHistory.at(m_navigatorHistoryCounter),
|
||||
Core::EditorManager::openEditor(Utils::FilePath::fromString(
|
||||
m_navigatorHistory.at(m_navigatorHistoryCounter)),
|
||||
Utils::Id(),
|
||||
Core::EditorManager::DoNotMakeVisible);
|
||||
m_keepNavigatorHistory = false;
|
||||
|
||||
Reference in New Issue
Block a user