mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix: website default port
This commit is contained in:
parent
8c8f40cb53
commit
d3531b6477
|
@ -60,7 +60,7 @@ void IframeSchemeHandler::requestStarted( QWebEngineUrlRequestJob * requestJob )
|
|||
|
||||
QString root = reply->url().scheme() + "://" + reply->url().host();
|
||||
|
||||
if ( reply->url().port() != 80 && reply->url().port() != 443 ) {
|
||||
if ( reply->url().port() != 80 && reply->url().port() != 443 && reply->url().port() != -1 ) {
|
||||
root = root + ":" + QString::number( reply->url().port() );
|
||||
}
|
||||
QString base = root + reply->url().path();
|
||||
|
|
Loading…
Reference in a new issue