mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:21:16 +02:00
Merge pull request #9573 from birarda/bug/whitelist-starts-with
drop empty parts when splitting script whitelist
This commit is contained in:
commit
0c7a181d33
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ EntityTree::~EntityTree() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void EntityTree::setEntityScriptSourceWhitelist(const QString& entityScriptSourceWhitelist) {
|
void EntityTree::setEntityScriptSourceWhitelist(const QString& entityScriptSourceWhitelist) {
|
||||||
_entityScriptSourceWhitelist = entityScriptSourceWhitelist.split(',');
|
_entityScriptSourceWhitelist = entityScriptSourceWhitelist.split(',', QString::SkipEmptyParts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue