summaryrefslogtreecommitdiff
path: root/src/history.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-30 10:21:58 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-30 10:21:58 +0200
commitb4516b0bacb68179eb6f7cbff9c6474ec03cc9ab (patch)
treeac6ffe5c874627302ddbce6a7dd350e1b6efb0c6 /src/history.cpp
parenta lot fo changes in the history/bookmarks page (restored initial method rewam... (diff)
downloadrekonq-b4516b0bacb68179eb6f7cbff9c6474ec03cc9ab.tar.xz
BIG BIG commit
removed: - last closed tabs feature - new tab page settings (unuseful, we need something better) implemented - new home page layout (needs love) - new about: protocol to load home page sections - preview images cache todo: - cleaning cache mechanism - bug fixing - add/remove to preferred actions
Diffstat (limited to 'src/history.cpp')
-rw-r--r--src/history.cpp5
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());