summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-30 18:08:25 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-30 18:08:25 +0200
commit54e258db126292e0f11201095e1f5b67b00e9833 (patch)
tree79b840b5f95ad0b741da2bc6911a1bcabf381621 /src/webview.cpp
parentrekonq 0.4.66 (diff)
downloadrekonq-54e258db126292e0f11201095e1f5b67b00e9833.tar.xz
QLatin1String -> QL1S
added cppcheck script
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 4209829a..e7226740 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -204,9 +204,9 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
{
QString text = selectedText();
- if (text.startsWith(QLatin1String("http://"))
- || text.startsWith(QLatin1String("https://"))
- || text.startsWith(QLatin1String("www."))
+ if (text.startsWith(QL1S("http://"))
+ || text.startsWith(QL1S("https://"))
+ || text.startsWith(QL1S("www."))
)
{
QString truncatedURL = text;