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:
Orgad Shaneh
2014-04-03 22:28:58 +03:00
committed by Orgad Shaneh
parent 17d2605951
commit c79413a4bd

View File

@@ -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()