summaryrefslogtreecommitdiff
path: root/src/clicktoflash.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/clicktoflash.cpp
parentrekonq 0.4.66 (diff)
downloadrekonq-54e258db126292e0f11201095e1f5b67b00e9833.tar.xz
QLatin1String -> QL1S
added cppcheck script
Diffstat (limited to 'src/clicktoflash.cpp')
-rw-r--r--src/clicktoflash.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clicktoflash.cpp b/src/clicktoflash.cpp
index e3e86f8c..e9174470 100644
--- a/src/clicktoflash.cpp
+++ b/src/clicktoflash.cpp
@@ -74,7 +74,7 @@ void ClickToFlash::load()
if (!view)
return;
- const QString selector = QLatin1String("%1[type=\"application/x-shockwave-flash\"]");
+ const QString selector = QL1S("%1[type=\"application/x-shockwave-flash\"]");
hide();
@@ -86,8 +86,8 @@ void ClickToFlash::load()
QWebElement docElement = frame->documentElement();
QWebElementCollection elements;
- elements.append(docElement.findAll(selector.arg(QLatin1String("object"))));
- elements.append(docElement.findAll(selector.arg(QLatin1String("embed"))));
+ elements.append(docElement.findAll(selector.arg(QL1S("object"))));
+ elements.append(docElement.findAll(selector.arg(QL1S("embed"))));
foreach(QWebElement element, elements)
{