forked from qt-creator/qt-creator
GitPlugin: Reserve enough entries for repository actions
There are currently ~40 actions. Reserve some extra for future use. Change-Id: I50284105f4f11df43ed5fb8b246b4a457f2447c1 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
17d2605951
commit
c79413a4bd
@@ -145,7 +145,7 @@ GitPlugin::GitPlugin() :
|
||||
Q_UNUSED(mid)
|
||||
m_fileActions.reserve(10);
|
||||
m_projectActions.reserve(10);
|
||||
m_repositoryActions.reserve(15);
|
||||
m_repositoryActions.reserve(50);
|
||||
}
|
||||
|
||||
GitPlugin::~GitPlugin()
|
||||
|
Reference in New Issue
Block a user