summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp
index 2641f9c9..7b741bf2 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -26,6 +26,7 @@
// Self Includes
+#include "rekonq_defines.h"
#include "webtab.h"
#include "webtab.moc"
// Auto Includes
@@ -254,7 +255,7 @@ KUrl WebTab::extractOpensearchUrl(QWebElement e)
QString host = docUrl.scheme() + "://" + docUrl.host();
if (docUrl.port() != -1)
{
- host += ":" + QString::number(docUrl.port());
+ host += QL1C(':') + QString::number(docUrl.port());
}
url = KUrl(docUrl, href);
}