mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:16:51 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString urlname = _url.path().toLower();
|
if (_url.path().isEmpty()) {
|
||||||
if (urlname.isEmpty() || _url.path().isEmpty()) {
|
|
||||||
throw QString("url is invalid");
|
throw QString("url is invalid");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue