diff options
Diffstat (limited to 'src/history.cpp')
-rw-r--r-- | src/history.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/history.cpp b/src/history.cpp index da39c4be..7e5cb741 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -114,6 +114,11 @@ bool HistoryManager::historyContains(const QString &url) const void HistoryManager::addHistoryEntry(const QString &url) { QUrl cleanUrl(url); + + // don't store about: urls (home page related) + if(cleanUrl.scheme() == QString("about")) + return; + cleanUrl.setPassword(QString()); cleanUrl.setHost(cleanUrl.host().toLower()); HistoryItem item(cleanUrl.toString(), QDateTime::currentDateTime()); |