diff options
Diffstat (limited to 'src/historymodels.cpp')
-rw-r--r-- | src/historymodels.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/historymodels.cpp b/src/historymodels.cpp index 446791ee..cf8d1aed 100644 --- a/src/historymodels.cpp +++ b/src/historymodels.cpp @@ -37,7 +37,6 @@ #include "application.h" // KDE Includes -#include <KDebug> #include <KStandardDirs> #include <KLocale> @@ -923,9 +922,6 @@ QModelIndex HistoryTreeModel::mapFromSource(const QModelIndex &sourceIndex) cons --it; int dateRow = qMax(0, it - m_sourceRowCache.begin()); - // FIXME fix crach on history submenu open. BUG:'ASSERT failure in QList<T>::at: "index out of range"' - // it crashes when dateRow == 1 - // kDebug() << m_sourceRowCache << dateRow; int row = sourceIndex.row() - m_sourceRowCache.at(dateRow); return createIndex(row, sourceIndex.column(), dateRow + 1); } |