Commit a48ee53d authored by Tomaz Canabrava's avatar Tomaz Canabrava Committed by Daniel Agar

Remove Deprecated: QString::null should not be used

Return a empty QString instead
parent 59f50473
......@@ -410,7 +410,7 @@ UrlFactory::_getURL(MapType type, int x, int y, int zoom, QNetworkAccessManager*
server += "mapbox.high-contrast";
break;
default:
return QString::null;
return {};
}
server += QString("/%1/%2/%3.jpg80?access_token=%4").arg(zoom).arg(x).arg(y).arg(mapBoxToken);
return server;
......@@ -473,7 +473,7 @@ UrlFactory::_getURL(MapType type, int x, int y, int zoom, QNetworkAccessManager*
qWarning("Unknown map id %d\n", type);
break;
}
return QString::null;
return {};
}
//-----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment