summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-07 15:19:33 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-07 15:19:33 +0200
commit3b4aa1a6cc3250978e26d5ca3bff7b7adcd1ac97 (patch)
tree2d96630ffeb8d6607592b07d87275eb8501baf81 /src/webview.cpp
parentMerge commit 'megabigbug/query' (diff)
downloadrekonq-3b4aa1a6cc3250978e26d5ca3bff7b7adcd1ac97.tar.xz
Krazy fixes. Part 2.
- KDE classes in ui files - Ui dialog deleteLater - const in for each loop (apart from the QWebFrame one..)
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index f2cfe232..dca8b6fb 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -164,7 +164,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
QString keywordDelimiter = cg.readEntry("KeywordDelimiter", ":");
KService::Ptr service;
KUriFilterData data;
- foreach (QString engine, favoriteEngines)
+ foreach (const QString &engine, favoriteEngines)
{
service = KService::serviceByDesktopPath(QString("searchproviders/%1.desktop").arg(engine));
const QString searchProviderPrefix = *(service->property("Keys").toStringList().begin()) + keywordDelimiter;
@@ -208,7 +208,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
QString keywordDelimiter = cg.readEntry("KeywordDelimiter", ":");
KService::Ptr service;
KUriFilterData data;
- foreach (QString engine, favoriteEngines)
+ foreach (const QString &engine, favoriteEngines)
{
service = KService::serviceByDesktopPath(QString("searchproviders/%1.desktop").arg(engine));
const QString searchProviderPrefix = *(service->property("Keys").toStringList().begin()) + keywordDelimiter;