diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-30 18:02:05 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-30 18:02:05 +0200 |
commit | 4b160adc90c4a484e7cb94b3c9fd23439f0e12a8 (patch) | |
tree | a1fff65e53a3910cf5e86e75147ed517a51a4978 /src/history/historymodels.cpp | |
parent | suggestion download: kill previous job before start a new one. (diff) | |
parent | panels directory removed (diff) | |
download | rekonq-4b160adc90c4a484e7cb94b3c9fd23439f0e12a8.tar.xz |
Merge commit 'refs/merge-requests/193' of git://gitorious.org/rekonq/mainline into m193
Diffstat (limited to 'src/history/historymodels.cpp')
-rw-r--r-- | src/history/historymodels.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp index a820db0f..0f137e0e 100644 --- a/src/history/historymodels.cpp +++ b/src/history/historymodels.cpp @@ -720,22 +720,3 @@ void HistoryTreeModel::sourceRowsRemoved(const QModelIndex &parent, int start, i endRemoveRows(); } } - - -// ------------------------------------------------------------------------------------------------------------------------------------------ - - - -TreeProxyModel::TreeProxyModel(QObject *parent) : QSortFilterProxyModel(parent) -{ - setSortRole(HistoryModel::DateTimeRole); - setFilterCaseSensitivity(Qt::CaseInsensitive); -} - - -bool TreeProxyModel::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const -{ - if (!source_parent.isValid()) - return true; - return QSortFilterProxyModel::filterAcceptsRow(source_row, source_parent); -} |