mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 22:36:59 -05:00
Remove obsolete method in EntryView.
This commit is contained in:
parent
75d3e6261b
commit
50cbd80925
@ -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)),
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user