Remove obsolete method in EntryView.

This commit is contained in:
Florian Geyer 2014-05-15 18:47:36 +02:00
parent 75d3e6261b
commit 50cbd80925
2 changed files with 0 additions and 6 deletions

View File

@ -105,11 +105,6 @@ int EntryView::numberOfSelectedEntries()
return selectionModel()->selectedRows().size();
}
bool EntryView::isSingleEntrySelected()
{
return (numberOfSelectedEntries() == 1);
}
void EntryView::setCurrentEntry(Entry* entry)
{
selectionModel()->setCurrentIndex(m_sortModel->mapFromSource(m_model->indexFromEntry(entry)),

View File

@ -37,7 +37,6 @@ public:
explicit EntryView(QWidget* parent = Q_NULLPTR);
void setModel(QAbstractItemModel* model) Q_DECL_OVERRIDE;
Entry* currentEntry();
bool isSingleEntrySelected();
void setCurrentEntry(Entry* entry);
Entry* entryFromIndex(const QModelIndex& index);
void setEntryList(const QList<Entry*>& entries);