summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlresolver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp
index e2ca32cb..43670a14 100644
--- a/src/urlbar/urlresolver.cpp
+++ b/src/urlbar/urlresolver.cpp
@@ -268,7 +268,7 @@ void UrlResolver::computeQurlFromUserInput()
if (urlFromUserInput.isValid())
{
// ensure http(s) hosts are lower cases
- if (urlFromUserInput.scheme().startsWith("http"))
+ if (urlFromUserInput.scheme().startsWith(QL1S("http")))
{
QString hst = urlFromUserInput.host();
urlFromUserInput.setHost(hst.toLower());