diff options
author | Rohan Garg <rohangarg@kubuntu.org> | 2010-09-11 19:51:57 +0530 |
---|---|---|
committer | Rohan Garg <rohangarg@kubuntu.org> | 2010-09-11 19:51:57 +0530 |
commit | 8e49088985162fdbb0a4dcaa75d5c944f793e3fd (patch) | |
tree | ebfec2fe621aca3d48e6cbf841511bdbe31e773c | |
parent | Krazy Fixes for rekonq (diff) | |
download | rekonq-8e49088985162fdbb0a4dcaa75d5c944f793e3fd.tar.xz |
Switch QLatin1String to QL1S
modified: src/iconmanager.cpp
modified: src/urlbar/listitem.cpp
-rw-r--r-- | src/iconmanager.cpp | 2 | ||||
-rw-r--r-- | src/urlbar/listitem.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/iconmanager.cpp b/src/iconmanager.cpp index 5c8fbf54..80f0d7fb 100644 --- a/src/iconmanager.cpp +++ b/src/iconmanager.cpp @@ -149,7 +149,7 @@ void IconManager::provideIcon(QWebPage *page, const KUrl &url, bool notify) if(!relUrlString.isEmpty()) { - faviconUrl = relUrlString.startsWith(QLatin1String("http")) + faviconUrl = relUrlString.startsWith(QL1S("http")) ? KUrl(relUrlString) : KUrl(rootUrlString + QL1C('/') + relUrlString) ; } diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index 746b4db2..d84a5488 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -209,7 +209,7 @@ TextLabel::TextLabel(const QString &text, const QString &textToPointOut, QWidget : QLabel(parent) { QString t = text; - const bool wasItalic = t.startsWith(QLatin1String("<i>")); + const bool wasItalic = t.startsWith(QL1S("<i>")); if (wasItalic) t.remove(QRegExp("<[/ib]*>")); |