diff options
Diffstat (limited to 'src/history/historymodels.cpp')
-rw-r--r-- | src/history/historymodels.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp index 16054054..d50d28a0 100644 --- a/src/history/historymodels.cpp +++ b/src/history/historymodels.cpp @@ -66,7 +66,6 @@ HistoryModel::HistoryModel(HistoryManager *history, QObject *parent) connect(m_historyManager, SIGNAL(historyReset()), this, SLOT(historyReset())); connect(m_historyManager, SIGNAL(entryRemoved(HistoryItem)), this, SLOT(historyReset())); connect(m_historyManager, SIGNAL(entryAdded(HistoryItem)), this, SLOT(entryAdded())); - connect(m_historyManager, SIGNAL(entryUpdated(int)), this, SLOT(entryUpdated(int))); } @@ -83,13 +82,6 @@ void HistoryModel::entryAdded() } -void HistoryModel::entryUpdated(int offset) -{ - QModelIndex idx = index(offset, 0); - emit dataChanged(idx, idx); -} - - QVariant HistoryModel::headerData(int section, Qt::Orientation orientation, int role) const { if (orientation == Qt::Horizontal |