mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Manager: Remove an unused function
This commit is contained in:
@@ -527,19 +527,6 @@ VMManagerMain::cadButtonPressed() const
|
||||
selected_sysconfig->cadButtonPressed();
|
||||
}
|
||||
|
||||
// This function doesn't appear to be needed any longer
|
||||
void
|
||||
VMManagerMain::refresh()
|
||||
{
|
||||
const auto current_index = ui->listView->currentIndex();
|
||||
emit selectionChanged(current_index, selected_sysconfig->process->state());
|
||||
|
||||
// if(!selected_sysconfig->config_file.path().isEmpty()) {
|
||||
if (!selected_sysconfig->isValid()) {
|
||||
// what was happening here?
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
VMManagerMain::updateDisplayName(const QModelIndex &index)
|
||||
{
|
||||
|
||||
@@ -106,7 +106,6 @@ private:
|
||||
// const QItemSelection &deselected);
|
||||
void currentSelectionChanged(const QModelIndex ¤t,
|
||||
const QModelIndex &previous);
|
||||
void refresh();
|
||||
void updateDisplayName(const QModelIndex &index);
|
||||
void loadSettings();
|
||||
[[nodiscard]] bool currentSelectionIsValid() const;
|
||||
|
||||
Reference in New Issue
Block a user