forked from qt-creator/qt-creator
Remove outdated code
Change-Id: I65e0ed79dabd987bc67d4082969835d52dd7cb8b Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -698,13 +698,8 @@ void FakeVimExCommandsPage::apply()
|
||||
}
|
||||
settings->endArray();
|
||||
globalCommandMapping.clear();
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
|
||||
globalCommandMapping.insert(defaultMap);
|
||||
globalCommandMapping.insert(newMapping);
|
||||
#else
|
||||
globalCommandMapping.unite(defaultMap);
|
||||
globalCommandMapping.unite(newMapping);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -956,13 +951,8 @@ void FakeVimUserCommandsPage::apply()
|
||||
}
|
||||
settings->endArray();
|
||||
userMap.clear();
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
|
||||
userMap.insert(dd->m_defaultUserCommandMap);
|
||||
userMap.insert(current);
|
||||
#else
|
||||
userMap.unite(dd->m_defaultUserCommandMap);
|
||||
userMap.unite(current);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user