diff options
author | Johannes Troscher <fritz_van_tom@hotmail.com> | 2011-11-27 12:18:33 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-11-27 12:18:33 +0100 |
commit | 6390d8ea58021f67257527cf98af5074656e0838 (patch) | |
tree | 2defdd7055541f41da100a81aa715bfb10ce8cc9 /src/urlbar/listitem.cpp | |
parent | Merge branch 'bkGroupMidClick' (diff) | |
download | rekonq-6390d8ea58021f67257527cf98af5074656e0838.tar.xz |
Unifies macro style
REVIEW: 103242
REVIEWED-BY: adjam
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r-- | src/urlbar/listitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index a8561ca3..0be4b761 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -217,7 +217,7 @@ static QString highlightWordsInText(const QString &text, const QStringList &word { QString ret = text; QBitArray boldSections(ret.size()); - foreach(const QString & wordToPointOut, words) + Q_FOREACH(const QString & wordToPointOut, words) { int index = ret.indexOf(wordToPointOut, 0, Qt::CaseInsensitive); while (index > -1) @@ -475,7 +475,7 @@ EngineBar::EngineBar(KService::Ptr selectedEngine, QWidget *parent) if (SearchEngine::defaultEngine().isNull()) return; m_engineGroup->addAction(newEngineAction(SearchEngine::defaultEngine(), selectedEngine)); - foreach(const KService::Ptr & engine, SearchEngine::favorites()) + Q_FOREACH(const KService::Ptr & engine, SearchEngine::favorites()) { if (engine->desktopEntryName() != SearchEngine::defaultEngine()->desktopEntryName()) { |