mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 13:27:53 +02:00
Simplify url empty check in GeometryReader::run
This commit is contained in:
parent
b960b66542
commit
31d1512701
1 changed files with 1 additions and 2 deletions
|
@ -193,8 +193,7 @@ void GeometryReader::run() {
|
|||
return;
|
||||
}
|
||||
|
||||
QString urlname = _url.path().toLower();
|
||||
if (urlname.isEmpty() || _url.path().isEmpty()) {
|
||||
if (_url.path().isEmpty()) {
|
||||
throw QString("url is invalid");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue