summaryrefslogtreecommitdiff
path: root/src/history/historymodels.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-12-29 11:34:39 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-01-07 15:36:49 +0100
commitc466aa12bd18c04021417c54781312bc8db7da2c (patch)
treeba69fc109c9f2d01bca8a5343b783af1484e6fba /src/history/historymodels.cpp
parentDisable multi-dimensional scroll button on scrollbars. (diff)
downloadrekonq-c466aa12bd18c04021417c54781312bc8db7da2c.tar.xz
Added a visit count parameter to the history.
This change will preserve old history on first load, adding the visit count parameter and saving the new structure on close This will used expecially in the Awesome UrlBar ordering suggestions code. WARNING: HISTORY_VERSION upgrade CCMAIL:megabigbug@yahoo.fr
Diffstat (limited to 'src/history/historymodels.cpp')
-rw-r--r--src/history/historymodels.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp
index 793ff7e5..d9d3efef 100644
--- a/src/history/historymodels.cpp
+++ b/src/history/historymodels.cpp
@@ -192,8 +192,8 @@ bool HistoryModel::removeRows(int row, int count, const QModelIndex &parent)
HistoryFilterModel::HistoryFilterModel(QAbstractItemModel *sourceModel, QObject *parent)
- : QAbstractProxyModel(parent),
- m_loaded(false)
+ : QAbstractProxyModel(parent)
+ , m_loaded(false)
{
setSourceModel(sourceModel);
}