diff options
-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]*>")); |