remove +1

This commit is contained in:
konstin
2014-06-23 16:13:54 +02:00
parent b13e6b9a96
commit 01623da5e9

View File

@@ -82,7 +82,7 @@ void RandomGPInfoDialog::addSpinners()
spinner->addLabel("all");
int index_standard;
const std::vector<std::string>& groups = track_manager->getAllTrackGroups();
for (unsigned int i = 0; i < groups.size() + 1; i++)
for (unsigned int i = 0; i < groups.size(); i++)
{
// FIXME: The NULL check is necessary until #1348 on github is fixed
if (groups[i].c_str() != NULL)