Manager: Remove an unused function

This commit is contained in:
Alexander Babikov
2025-12-06 03:46:03 +05:00
parent 85b26b4aed
commit 517a9f2c02
2 changed files with 0 additions and 14 deletions

View File

@@ -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)
{

View File

@@ -106,7 +106,6 @@ private:
// const QItemSelection &deselected);
void currentSelectionChanged(const QModelIndex &current,
const QModelIndex &previous);
void refresh();
void updateDisplayName(const QModelIndex &index);
void loadSettings();
[[nodiscard]] bool currentSelectionIsValid() const;