drop empty parts when splitting script whitelist

This commit is contained in:
Stephen Birarda 2017-01-31 15:32:47 -08:00
parent 2fc6b4b0af
commit d4a161041e

View file

@ -64,7 +64,7 @@ EntityTree::~EntityTree() {
}
void EntityTree::setEntityScriptSourceWhitelist(const QString& entityScriptSourceWhitelist) {
_entityScriptSourceWhitelist = entityScriptSourceWhitelist.split(',');
_entityScriptSourceWhitelist = entityScriptSourceWhitelist.split(',', QString::SkipEmptyParts);
}