mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-16 09:55:51 +00:00
kaboom in search bar, but very close methinks
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@645 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -166,6 +166,8 @@ unsigned int PresetLoader::addPresetURL(const std::string & url, const std::stri
|
||||
|
||||
void PresetLoader::removePreset(unsigned int index) {
|
||||
std::vector<std::string>::iterator pos = m_entries.begin();
|
||||
asser(pos != m_entries.end());
|
||||
|
||||
pos += index;
|
||||
m_entries.erase(pos);
|
||||
m_presetNames.erase(pos);
|
||||
|
||||
Reference in New Issue
Block a user