Simplify url empty check in GeometryReader::run

This commit is contained in:
sabrina-shanman 2018-12-10 16:12:23 -08:00
parent b960b66542
commit 31d1512701

View file

@ -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");
}