From c466aa12bd18c04021417c54781312bc8db7da2c Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 29 Dec 2010 11:34:39 +0100 Subject: 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 --- src/history/historymodels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/history/historymodels.cpp') 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); } -- cgit v1.2.1