diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-07 15:19:33 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-07 15:19:33 +0200 |
commit | 3b4aa1a6cc3250978e26d5ca3bff7b7adcd1ac97 (patch) | |
tree | 2d96630ffeb8d6607592b07d87275eb8501baf81 /src/webview.cpp | |
parent | Merge commit 'megabigbug/query' (diff) | |
download | rekonq-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.cpp | 4 |
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; |