mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[Fix] Fixed showing url's in locationbar. Regression from da3d929
This commit is contained in:
parent
80f8f99ce2
commit
9a59711b78
@ -17,5 +17,6 @@ TRANSLATIONS += cs_CZ.ts\
|
||||
sr_RS.ts\
|
||||
de_DE.ts\
|
||||
el_GR.ts\
|
||||
id_ID.ts\
|
||||
|
||||
include(../../plugins.pri)
|
||||
|
@ -151,8 +151,16 @@ QUrl qz_makeRelativeUrl(const QUrl &baseUrl, const QUrl &rUrl)
|
||||
QString qz_urlEncodeQueryString(const QUrl &url)
|
||||
{
|
||||
QString returnString = url.toString(QUrl::RemoveQuery | QUrl::RemoveFragment);
|
||||
|
||||
if (url.hasQuery()) {
|
||||
returnString.append("?");
|
||||
returnString.append(url.encodedQuery());
|
||||
}
|
||||
|
||||
if (url.hasFragment()) {
|
||||
returnString.append("#");
|
||||
returnString.append(url.encodedFragment());
|
||||
}
|
||||
|
||||
return returnString;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
// Header + Footer
|
||||
$site_title = "QupZilla - Peramban multiplatform ringan";
|
||||
$qupzilla = "QupZilla";
|
||||
|
Loading…
Reference in New Issue
Block a user