summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-18 12:09:54 (GMT)
committerMarkku Luukkainen <markku.luukkainen@digia.com>2009-06-18 12:09:54 (GMT)
commit0cbf534a7feba5a0159877d19d15f225e1199fc8 (patch)
tree2ed4ee214a2a35652e25bfd955bfdd5a40581eb4
parent2bbe3adac53534156c9628533ef3ff292c69cadf (diff)
downloadQt-0cbf534a7feba5a0159877d19d15f225e1199fc8.zip
Qt-0cbf534a7feba5a0159877d19d15f225e1199fc8.tar.gz
Qt-0cbf534a7feba5a0159877d19d15f225e1199fc8.tar.bz2
Compile fix
-rw-r--r--demos/browser/browsermainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/browser/browsermainwindow.cpp b/demos/browser/browsermainwindow.cpp
index f1dcaef..37b8ddc 100644
--- a/demos/browser/browsermainwindow.cpp
+++ b/demos/browser/browsermainwindow.cpp
@@ -575,7 +575,7 @@ QUrl BrowserMainWindow::guessUrlFromString(const QString &string)
int dotIndex = urlStr.indexOf(QLatin1Char('.'));
if (dotIndex != -1) {
QString prefix = urlStr.left(dotIndex).toLower();
- QByteArray schema = (prefix == QLatin1String("ftp")) ? prefix.toLatin1() : "http";
+ QByteArray schema = (prefix == QLatin1String("ftp")) ? prefix.toLatin1() : QByteArray("http");
QUrl url =
QUrl::fromEncoded(schema + "://" + urlStr.toUtf8(), QUrl::TolerantMode);
if (url.isValid())