diff options
Diffstat (limited to 'src/history.cpp')
-rw-r--r-- | src/history.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/history.cpp b/src/history.cpp index a59a4ce3..ee21a8f2 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -212,10 +212,10 @@ void HistoryManager::removeHistoryEntry(const HistoryItem &item) void HistoryManager::removeHistoryEntry(const KUrl &url, const QString &title) { - for (int i = 0; i < m_history.count(); ++i) + for (int i = 0; i < m_history.count(); ++i) { if (url == m_history.at(i).url - && (title.isEmpty() || title == m_history.at(i).title)) + && (title.isEmpty() || title == m_history.at(i).title)) { removeHistoryEntry(m_history.at(i)); break; |